mirror of
https://github.com/NixOS/nix.git
synced 2025-11-30 06:01:00 +01:00
Make the file cache keyed on SourcePath
This commit is contained in:
parent
bc57bd2202
commit
cd893a22f5
7 changed files with 28 additions and 47 deletions
|
|
@ -113,6 +113,11 @@ struct SourcePath
|
|||
return std::tie(accessor, path) == std::tie(x.accessor, x.path);
|
||||
}
|
||||
|
||||
bool operator != (const SourcePath & x) const
|
||||
{
|
||||
return std::tie(accessor, path) != std::tie(x.accessor, x.path);
|
||||
}
|
||||
|
||||
bool operator < (const SourcePath & x) const
|
||||
{
|
||||
return std::tie(accessor, path) < std::tie(x.accessor, x.path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue