4#include <unordered_set>
11typedef std::unordered_map<StorePath, std::unordered_set<std::string>> Roots;
55 uint64_t
maxFreed{std::numeric_limits<uint64_t>::max()};
103 inline static std::string operationName =
"Garbage collection";
Definition gc-store.hh:15
uint64_t maxFreed
Definition gc-store.hh:55
GCAction
Definition gc-store.hh:30
bool ignoreLiveness
Definition gc-store.hh:45
StorePathSet pathsToDelete
Definition gc-store.hh:50
Definition gc-store.hh:60
PathSet paths
Definition gc-store.hh:65
uint64_t bytesFreed
Definition gc-store.hh:71
Definition gc-store.hh:102
virtual void collectGarbage(const GCOptions &options, GCResults &results)=0
virtual Roots findRoots(bool censor)=0