1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-27 12:41:00 +01:00

added dbValidStatePaths, StatePaths are now also registered as valid and can be query'd on validity

This commit is contained in:
Wouter den Breejen 2007-06-22 14:04:06 +00:00
parent 51fad07fbd
commit 6351b7e728
8 changed files with 126 additions and 24 deletions

View file

@ -58,6 +58,12 @@ public:
/* Checks whether a path is valid. */
virtual bool isValidPath(const Path & path) = 0;
/* TODO */
virtual bool isValidStatePath(const Path & path) = 0;
/* TODO */
virtual bool isValidComponentOrStatePath(const Path & path) = 0;
/* Return the substitutes for the given path. */
virtual Substitutes querySubstitutes(const Path & path) = 0;