about summary refs log tree commit diff
path: root/src/libstore/local-store.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-01-25T16·04+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-01-25T16·04+0000
commit5388944e8d1ca61e23d42a6a0769b925f099f4e1 (patch)
tree9f6c90aeea01d8ad1cc99102a27751de7d409912 /src/libstore/local-store.hh
parentf0c0277970f8283428b599d8da8089756583a26c (diff)
* Make the garbage collector do the right thing when `gc-keep-outputs'
  is enabled by not depending on the deriver.

Diffstat (limited to 'src/libstore/local-store.hh')
-rw-r--r--src/libstore/local-store.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh
index e851d0509e4d..ef585fdaa8a2 100644
--- a/src/libstore/local-store.hh
+++ b/src/libstore/local-store.hh
@@ -178,6 +178,8 @@ private:
 
     bool tryToDelete(GCState & state, const Path & path);
     
+    PathSet findDerivers(GCState & state, const Path & path);
+    
     bool isActiveTempFile(const GCState & state,
         const Path & path, const string & suffix);