hnix-store-core-0.1.0.0: Core effects for interacting with the Nix store.
System.Nix.GC
Description
|
data Action Source #
Constructors
Defined in System.Nix.GC
Methods
succ :: Action -> Action #
pred :: Action -> Action #
toEnum :: Int -> Action #
fromEnum :: Action -> Int #
enumFrom :: Action -> [Action] #
enumFromThen :: Action -> Action -> [Action] #
enumFromTo :: Action -> Action -> [Action] #
enumFromThenTo :: Action -> Action -> Action -> [Action] #
(==) :: Action -> Action -> Bool #
(/=) :: Action -> Action -> Bool #
compare :: Action -> Action -> Ordering #
(<) :: Action -> Action -> Bool #
(<=) :: Action -> Action -> Bool #
(>) :: Action -> Action -> Bool #
(>=) :: Action -> Action -> Bool #
max :: Action -> Action -> Action #
min :: Action -> Action -> Action #
showsPrec :: Int -> Action -> ShowS #
show :: Action -> String #
showList :: [Action] -> ShowS #
data Options Source #
Garbage collector operation options
Fields
operation
If ignoreLiveness is set, then reachability from the roots is ignored (dangerous!). However, the paths must still be unreferenced *within* the store (i.e., there can be no other store paths that depend on them).
ignoreLiveness
For DeleteSpecific, the paths to delete
Stop after at least maxFreed bytes have been freed
maxFreed
(==) :: Options -> Options -> Bool #
(/=) :: Options -> Options -> Bool #
compare :: Options -> Options -> Ordering #
(<) :: Options -> Options -> Bool #
(<=) :: Options -> Options -> Bool #
(>) :: Options -> Options -> Bool #
(>=) :: Options -> Options -> Bool #
max :: Options -> Options -> Options #
min :: Options -> Options -> Options #
showsPrec :: Int -> Options -> ShowS #
show :: Options -> String #
showList :: [Options] -> ShowS #
data Result Source #
Depending on the action, the GC roots, or the paths that would be or have been deleted
For ReturnDead, DeleteDead and DeleteSpecific, the number of bytes that would be or was freed
(==) :: Result -> Result -> Bool #
(/=) :: Result -> Result -> Bool #
compare :: Result -> Result -> Ordering #
(<) :: Result -> Result -> Bool #
(<=) :: Result -> Result -> Bool #
(>) :: Result -> Result -> Bool #
(>=) :: Result -> Result -> Bool #
max :: Result -> Result -> Result #
min :: Result -> Result -> Result #
showsPrec :: Int -> Result -> ShowS #
show :: Result -> String #
showList :: [Result] -> ShowS #