1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-03 06:11:46 +02:00

* nix-store: --isvalid' -> --check-validity', `--validpath' ->

`--register-validity'.
* `nix-store --register-validity': read arguments from stdin, and
  allow the references and deriver to be set.
This commit is contained in:
Eelco Dolstra 2005-03-23 11:25:20 +00:00
parent a1e00bf6aa
commit f20f081560
4 changed files with 34 additions and 17 deletions

View file

@ -247,7 +247,7 @@ void canonicalisePathMetaData(const Path & path)
}
static bool isValidPathTxn(const Transaction & txn, const Path & path)
bool isValidPathTxn(const Transaction & txn, const Path & path)
{
string s;
return nixDB.queryString(txn, dbValidPaths, path, s);

View file

@ -87,6 +87,7 @@ Path toStorePath(const Path & path);
void canonicalisePathMetaData(const Path & path);
/* Checks whether a path is valid. */
bool isValidPathTxn(const Transaction & txn, const Path & path);
bool isValidPath(const Path & path);
/* Queries the hash of a valid path. */