forked from lix-project/lix
Remove the ValidPathInfo
==
operator
It is dead code. It was added in8e0946e8df
as part of the repeated / enforce-determinism feature, but that was removed in8fdd156a65
. It is not good because it skips many fields. For testing purposes we will soon want to add a new one that doesn't skip fields, but we want to make sure making == sensitive to those fields won't change how Nix works. Proving in this commit that the old version is dead code achieves that.
This commit is contained in:
parent
3e6b9f9357
commit
862d16436b
|
@ -72,14 +72,6 @@ struct ValidPathInfo
|
|||
*/
|
||||
std::optional<ContentAddress> ca;
|
||||
|
||||
bool operator == (const ValidPathInfo & i) const
|
||||
{
|
||||
return
|
||||
path == i.path
|
||||
&& narHash == i.narHash
|
||||
&& references == i.references;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return a fingerprint of the store path to be used in binary
|
||||
* cache signatures. It contains the store path, the base-32
|
||||
|
|
Loading…
Reference in a new issue