mirror of
https://github.com/NixOS/nix
synced 2025-06-27 04:21:16 +02:00
Move new ValidPathInfo
methods to path-info.cc
We'll move the old ones separately, so as not to clutter the diff.
This commit is contained in:
parent
91617f80ec
commit
2e7be46e73
2 changed files with 15 additions and 15 deletions
|
@ -1228,21 +1228,6 @@ std::string showPaths(const PathSet & paths)
|
|||
return concatStringsSep(", ", quoteStrings(paths));
|
||||
}
|
||||
|
||||
StorePathSet ValidPathInfo::referencesPossiblyToSelf() const
|
||||
{
|
||||
return references.possiblyToSelf(path);
|
||||
}
|
||||
|
||||
void ValidPathInfo::insertReferencePossiblyToSelf(StorePath && ref)
|
||||
{
|
||||
return references.insertPossiblyToSelf(path, std::move(ref));
|
||||
}
|
||||
|
||||
void ValidPathInfo::setReferencesPossiblyToSelf(StorePathSet && refs)
|
||||
{
|
||||
return references.setPossiblyToSelf(path, std::move(refs));
|
||||
}
|
||||
|
||||
std::string ValidPathInfo::fingerprint(const Store & store) const
|
||||
{
|
||||
if (narSize == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue