mirror of
https://github.com/NixOS/nix.git
synced 2025-11-21 17:59:36 +01:00
* Implement queryPathInfo().
This commit is contained in:
parent
885e22b16e
commit
77cb9e3fb1
2 changed files with 49 additions and 51 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue