|
enum | GCAction { gcReturnLive
, gcReturnDead
, gcDeleteDead
, gcDeleteSpecific
} |
|
◆ GCAction
Garbage collector operation:
gcReturnLive
: return the set of paths reachable from (i.e. in the closure of) the roots.
gcReturnDead
: return the set of paths not reachable from the roots.
gcDeleteDead
: actually delete the latter set.
gcDeleteSpecific
: delete the paths listed in pathsToDelete
, insofar as they are not reachable.
◆ ignoreLiveness
bool nix::GCOptions::ignoreLiveness {false} |
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).
◆ maxFreed
uint64_t nix::GCOptions::maxFreed {std::numeric_limits<uint64_t>::max()} |
Stop after at least maxFreed
bytes have been freed.
◆ pathsToDelete
StorePathSet nix::GCOptions::pathsToDelete |
For gcDeleteSpecific
, the paths to delete.
The documentation for this struct was generated from the following file:
- /home/buildozer/aports/community/nix/src/nix-2.26.3/src/libstore/gc-store.hh