mirror of
https://github.com/NixOS/nix.git
synced 2025-11-27 04:30:59 +01:00
registerValidPath can now also take state paths as arguments, nix-store still cannot
This commit is contained in:
parent
04dd3fdf34
commit
b32691da2b
7 changed files with 149 additions and 87 deletions
|
|
@ -232,10 +232,15 @@ public:
|
|||
|
||||
/* Throw an exception if `path' is not directly in the Nix store. */
|
||||
void assertStorePath(const Path & path);
|
||||
void assertStatePath(const Path & path);
|
||||
|
||||
bool isInStore(const Path & path);
|
||||
bool isStorePath(const Path & path);
|
||||
|
||||
bool isInStateStore(const Path & path);
|
||||
bool isStatePath(const Path & path);
|
||||
|
||||
|
||||
void checkStoreName(const string & name);
|
||||
|
||||
/* Chop off the parts after the top-level store name, e.g.,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue