From c987061aa401eaad984aaa3058aa0506df4f46da Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 17 Sep 2008 12:54:07 +0000 Subject: * Some refactoring. Better output with `-v' for --use-atime. --- src/libstore/local-store.hh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/libstore/local-store.hh') diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh index 6ad5032f6ea7..37ed543fc3dc 100644 --- a/src/libstore/local-store.hh +++ b/src/libstore/local-store.hh @@ -167,8 +167,11 @@ private: void upgradeStore12(); - void tryToDelete(const GCOptions & options, GCResults & results, - PathSet & done, const Path & path); + void gcPath(const GCOptions & options, GCResults & results, + const Path & path); + + void gcPathRecursive(const GCOptions & options, + GCResults & results, PathSet & done, const Path & path); void startSubstituter(const Path & substituter, RunningSubstituter & runningSubstituter); -- cgit 1.4.1