diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-06-18 09:34:17 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-06-18 09:34:17 +0000 |
commit | a72709afd8ffe35613a6bacd698a36395e095a48 (patch) | |
tree | 2f549bafbed92a53bd6faea1da43667307af7593 /src/libstore/remote-store.hh | |
parent | 934c58aa381f5eacc86304ba7f5c6775ff456cd5 (diff) |
* Some refactoring: put the GC options / results in separate structs.
* The garbage collector now also prints the number of blocks freed.
Diffstat (limited to 'src/libstore/remote-store.hh')
-rw-r--r-- | src/libstore/remote-store.hh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstore/remote-store.hh b/src/libstore/remote-store.hh index 1501591e2..c40feeaa4 100644 --- a/src/libstore/remote-store.hh +++ b/src/libstore/remote-store.hh @@ -65,8 +65,7 @@ public: Roots findRoots(); - void collectGarbage(GCAction action, const PathSet & pathsToDelete, - bool ignoreLiveness, PathSet & result, unsigned long long & bytesFreed); + void collectGarbage(const GCOptions & options, GCResults & results); private: AutoCloseFD fdSocket; |