diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-04-14 08:08:55 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2004-04-14 08:08:55 +0000 |
commit | a4d2b22c8ca5064f1da614914c7ea336eedd65c4 (patch) | |
tree | 6ba789f13a5a70011a0efd8aa67d132eb88431b4 /src/libstore/store.hh | |
parent | 87bf541f23723f6a8c7f05c89984c5df0c450ec2 (diff) |
* Be stricter in verifying store paths.
Diffstat (limited to 'src/libstore/store.hh')
-rw-r--r-- | src/libstore/store.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstore/store.hh b/src/libstore/store.hh index 143cad8db..571d498c3 100644 --- a/src/libstore/store.hh +++ b/src/libstore/store.hh @@ -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); |