* Be stricter in verifying store paths.

This commit is contained in:
Eelco Dolstra 2004-04-14 08:08:55 +00:00
parent 87bf541f23
commit a4d2b22c8c
3 changed files with 9 additions and 4 deletions

View file

@ -48,6 +48,9 @@ Paths querySubstitutes(const Path & srcPath);
/* Register the validity of a path. */
void registerValidPath(const Transaction & txn, const Path & path);
/* Throw an exception if `path' is not directly in the Nix store. */
void assertStorePath(const Path & path);
/* Checks whether a path is valid. */
bool isValidPath(const Path & path);