mirror of
https://github.com/NixOS/nix
synced 2025-06-27 16:51:15 +02:00
Check 'follows' inputs
This commit is contained in:
parent
d15c20efd5
commit
7db879e65e
3 changed files with 51 additions and 22 deletions
|
@ -67,6 +67,13 @@ struct LockFile
|
|||
bool operator ==(const LockFile & other) const;
|
||||
|
||||
std::shared_ptr<Node> findInput(const InputPath & path);
|
||||
|
||||
std::map<InputPath, Node::Edge> getAllInputs() const;
|
||||
|
||||
static std::string diff(const LockFile & oldLocks, const LockFile & newLocks);
|
||||
|
||||
/* Check that every 'follows' input target exists. */
|
||||
void check();
|
||||
};
|
||||
|
||||
std::ostream & operator <<(std::ostream & stream, const LockFile & lockFile);
|
||||
|
@ -75,6 +82,4 @@ InputPath parseInputPath(std::string_view s);
|
|||
|
||||
std::string printInputPath(const InputPath & path);
|
||||
|
||||
std::string diffLockFiles(const LockFile & oldLocks, const LockFile & newLocks);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue