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:
parent
51fad07fbd
commit
6351b7e728
8 changed files with 126 additions and 24 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue