From 77cb9e3fb19005a40724cb42773d2b11e2528858 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 18 Feb 2010 15:52:57 +0000 Subject: * Implement queryPathInfo(). --- src/libstore/local-store.hh | 5 +++-- 1 file changed, 3 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 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); -- cgit 1.4.1