aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-03-04 13:03:26 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-03-04 13:03:26 +0000
commitbc6f7fc139b5a72306a54c89db74bf126cca9ca7 (patch)
treea1bdc3e7a14fe09f1e4b9e20e0feba0f12322de1 /src/libstore
parentfb6e223ddce9b7ff157c5b89569a54562e9eabd1 (diff)
* Remove some unused functions.
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/store-api.hh18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh
index b6a8ff40e..095fdd24b 100644
--- a/src/libstore/store-api.hh
+++ b/src/libstore/store-api.hh
@@ -112,29 +112,11 @@ public:
virtual void queryReferences(const Path & path,
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.
The result is not cleared. */
virtual void queryReferrers(const Path & path,
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
no deriver has been set. */
virtual Path queryDeriver(const Path & path) = 0;