mirror of
https://github.com/NixOS/nix.git
synced 2025-12-13 20:41:04 +01:00
Add comparison functions for NarInfo
We will need these for tests.
This commit is contained in:
parent
1a14ce8381
commit
0b0d1b5214
2 changed files with 11 additions and 0 deletions
|
|
@ -24,6 +24,8 @@ struct NarInfo : ValidPathInfo
|
|||
NarInfo(const ValidPathInfo & info) : ValidPathInfo(info) { }
|
||||
NarInfo(const Store & store, const std::string & s, const std::string & whence);
|
||||
|
||||
DECLARE_CMP(NarInfo);
|
||||
|
||||
std::string to_string(const Store & store) const;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue