mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 16:26:18 +02:00
* Remove some unused functions.
This commit is contained in:
parent
fb6e223ddc
commit
bc6f7fc139
1 changed files with 0 additions and 18 deletions
|
@ -112,29 +112,11 @@ public:
|
||||||
virtual void queryReferences(const Path & path,
|
virtual void queryReferences(const Path & path,
|
||||||
PathSet & references) = 0;
|
PathSet & references) = 0;
|
||||||
|
|
||||||
/* Like queryReferences, but with self-references filtered out. */
|
|
||||||
PathSet queryReferencesNoSelf(const Path & path)
|
|
||||||
{
|
|
||||||
PathSet res;
|
|
||||||
queryReferences(path, res);
|
|
||||||
res.erase(path);
|
|
||||||
return res;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Queries the set of incoming FS references for a store path.
|
/* Queries the set of incoming FS references for a store path.
|
||||||
The result is not cleared. */
|
The result is not cleared. */
|
||||||
virtual void queryReferrers(const Path & path,
|
virtual void queryReferrers(const Path & path,
|
||||||
PathSet & referrers) = 0;
|
PathSet & referrers) = 0;
|
||||||
|
|
||||||
/* Like queryReferrers, but with self-references filtered out. */
|
|
||||||
PathSet queryReferrersNoSelf(const Path & path)
|
|
||||||
{
|
|
||||||
PathSet res;
|
|
||||||
queryReferrers(path, res);
|
|
||||||
res.erase(path);
|
|
||||||
return res;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Query the deriver of a store path. Return the empty string if
|
/* Query the deriver of a store path. Return the empty string if
|
||||||
no deriver has been set. */
|
no deriver has been set. */
|
||||||
virtual Path queryDeriver(const Path & path) = 0;
|
virtual Path queryDeriver(const Path & path) = 0;
|
||||||
|
|
Loading…
Reference in a new issue