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-18T15·52+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-02-18T15·52+0000
commit77cb9e3fb19005a40724cb42773d2b11e2528858 (patch)
treef164a8d6490c870f8d4855d065ace305a01dcdf4 /src/libstore/local-store.hh
parent885e22b16e3a6ea2a94014d33de31d756fa32eda (diff)
* Implement queryPathInfo().
Diffstat (limited to 'src/libstore/local-store.hh')
-rw-r--r--src/libstore/local-store.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh
index fe4ed035de7c..af1cd26a3052 100644
--- a/src/libstore/local-store.hh
+++ b/src/libstore/local-store.hh
@@ -188,7 +188,8 @@ private:
     /* Some precompiled SQLite statements. */
     SQLiteStmt stmtRegisterValidPath;
     SQLiteStmt stmtAddReference;
-    SQLiteStmt stmtIsValidPath;
+    SQLiteStmt stmtQueryPathInfo;
+    SQLiteStmt stmtQueryReferences;
 
     int getSchema();
 
@@ -198,7 +199,7 @@ private:
 
     void registerValidPath(const ValidPathInfo & info, bool ignoreValidity = false);
 
-    ValidPathInfo queryPathInfo(const Path & path, bool ignoreErrors = false);
+    ValidPathInfo queryPathInfo(const Path & path);
 
     void appendReferrer(const Path & from, const Path & to, bool lock);