1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-21 17:59:36 +01:00

* Implement queryPathInfo().

This commit is contained in:
Eelco Dolstra 2010-02-18 15:52:57 +00:00
parent 885e22b16e
commit 77cb9e3fb1
2 changed files with 49 additions and 51 deletions

View file

@ -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);