| Maintainer | srk <srk@48.io> |
|---|---|
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
System.Nix.Store.Remote.Types.GC
Description
|
Documentation
Garbage collection action
Constructors
| GCAction_ReturnLive | Return the set of paths reachable from roots (closure) |
| GCAction_ReturnDead | Return unreachable paths |
| GCAction_DeleteDead | Delete unreachable paths |
| GCAction_DeleteSpecific | Delete specified paths |
Instances
| Arbitrary GCAction Source # | |
| Bounded GCAction Source # | |
| Enum GCAction Source # | |
Defined in System.Nix.Store.Remote.Types.GC | |
| Generic GCAction Source # | |
| Show GCAction Source # | |
| Eq GCAction Source # | |
| Ord GCAction Source # | |
Defined in System.Nix.Store.Remote.Types.GC | |
| type Rep GCAction Source # | |
Defined in System.Nix.Store.Remote.Types.GC type Rep GCAction = D1 ('MetaData "GCAction" "System.Nix.Store.Remote.Types.GC" "hnix-store-remote-0.7.0.0-3KzMSkqSXnCD71veVOrNoM" 'False) ((C1 ('MetaCons "GCAction_ReturnLive" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GCAction_ReturnDead" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "GCAction_DeleteDead" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GCAction_DeleteSpecific" 'PrefixI 'False) (U1 :: Type -> Type))) | |
Garbage collector operation options
Constructors
| GCOptions | |
Fields
| |
Instances
| Arbitrary GCOptions Source # | |
| Generic GCOptions Source # | |
| Show GCOptions Source # | |
| Eq GCOptions Source # | |
| Ord GCOptions Source # | |
Defined in System.Nix.Store.Remote.Types.GC | |
| type Rep GCOptions Source # | |
Defined in System.Nix.Store.Remote.Types.GC type Rep GCOptions = D1 ('MetaData "GCOptions" "System.Nix.Store.Remote.Types.GC" "hnix-store-remote-0.7.0.0-3KzMSkqSXnCD71veVOrNoM" 'False) (C1 ('MetaCons "GCOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "gcOptionsOperation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 GCAction) :*: S1 ('MetaSel ('Just "gcOptionsIgnoreLiveness") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "gcOptionsPathsToDelete") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HashSet StorePath)) :*: S1 ('MetaSel ('Just "gcOptionsMaxFreed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))) | |
Result of the garbage collection operation
Constructors
| GCResult | |
Fields
| |
Instances
| Arbitrary GCResult Source # | |
| Generic GCResult Source # | |
| Show GCResult Source # | |
| Eq GCResult Source # | |
| Ord GCResult Source # | |
Defined in System.Nix.Store.Remote.Types.GC | |
| StoreReply GCResult Source # | |
Defined in System.Nix.Store.Remote.Types.StoreReply Methods getReplyS :: NixSerializer ProtoStoreConfig ReplySError GCResult Source # | |
| type Rep GCResult Source # | |
Defined in System.Nix.Store.Remote.Types.GC type Rep GCResult = D1 ('MetaData "GCResult" "System.Nix.Store.Remote.Types.GC" "hnix-store-remote-0.7.0.0-3KzMSkqSXnCD71veVOrNoM" 'False) (C1 ('MetaCons "GCResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "gcResultDeletedPaths") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HashSet StorePath)) :*: S1 ('MetaSel ('Just "gcResultBytesFreed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64))) | |
Used as a part of the result of FindRoots operation
Constructors
| GCRoot_Censored | Source path is censored since the user is not trusted |
| GCRoot_Path RawFilePath | Raw source path |
Instances
| Arbitrary GCRoot Source # | |
| Generic GCRoot Source # | |
| Show GCRoot Source # | |
| Eq GCRoot Source # | |
| Ord GCRoot Source # | |
| StoreReply (Map GCRoot StorePath) Source # | |
Defined in System.Nix.Store.Remote.Types.StoreReply Methods getReplyS :: NixSerializer ProtoStoreConfig ReplySError (Map GCRoot StorePath) Source # | |
| type Rep GCRoot Source # | |
Defined in System.Nix.Store.Remote.Types.GC type Rep GCRoot = D1 ('MetaData "GCRoot" "System.Nix.Store.Remote.Types.GC" "hnix-store-remote-0.7.0.0-3KzMSkqSXnCD71veVOrNoM" 'False) (C1 ('MetaCons "GCRoot_Censored" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GCRoot_Path" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RawFilePath))) | |