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-06-21T11·08+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-06-21T11·08+0000
commit3e5e0faf9cf93c01fb621774c0c3c50ce51bdd91 (patch)
tree764e13cd688ec70d04e5fd808e3028fa58917854 /src/libstore/local-store.hh
parentbf87cc44b4484df74388b526c89884fea166ab7f (diff)
* Okay, putting a lock on the temporary directory used by importPath()
  doesn't work because the garbage collector doesn't actually look at
  locks.  So r22253 was stupid.  Use addTempRoot() instead.  Also,
  locking the temporary directory in exportPath() was silly because it
  isn't even in the store.

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 c1e0e335f2..3ae964f054 100644
--- a/src/libstore/local-store.hh
+++ b/src/libstore/local-store.hh
@@ -246,6 +246,8 @@ private:
         
     void startSubstituter(const Path & substituter,
         RunningSubstituter & runningSubstituter);
+
+    Path createTempDirInStore();
 };