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-02-24T15·07+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-02-24T15·07+0000
commitcfe742cfc50e40b590e75200179013dd62b07bde (patch)
tree1492982e624b32d8e044c58c4eb27419c85e5756 /src/libstore/local-store.hh
parent6baa2a2f5ef5b11859b95f453338efaf7c5b2724 (diff)
* A function to query just the database id of a valid path.
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 ec0b482eae..1e4080becd 100644
--- a/src/libstore/local-store.hh
+++ b/src/libstore/local-store.hh
@@ -213,6 +213,8 @@ private:
 
     void prepareStatements();
 
+    unsigned long long queryValidPathId(const Path & path);
+
     unsigned long long addValidPath(const ValidPathInfo & info);
         
     void addReference(unsigned long long referrer, unsigned long long reference);