From 6d1a1191b053645fa0277830524bf085a7fe0956 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 12 Jun 2007 16:53:44 +0000 Subject: * Support queryDeriver() in multi-user installations. --- src/libstore/local-store.hh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/libstore/local-store.hh') diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh index 099be2efcd1a..7c5cd2668405 100644 --- a/src/libstore/local-store.hh +++ b/src/libstore/local-store.hh @@ -49,6 +49,8 @@ public: void queryReferrers(const Path & path, PathSet & referrers); + Path queryDeriver(const Path & path); + Path addToStore(const Path & srcPath, bool fixed = false, bool recursive = false, string hashAlgo = "", PathFilter & filter = defaultPathFilter); @@ -136,10 +138,6 @@ void setReferences(const Transaction & txn, const Path & path, void setDeriver(const Transaction & txn, const Path & path, const Path & deriver); -/* Query the deriver of a store path. Return the empty string if no - deriver has been set. */ -Path queryDeriver(const Transaction & txn, const Path & path); - /* Delete a value from the nixStore directory. */ void deleteFromStore(const Path & path, unsigned long long & bytesFreed); -- cgit 1.4.1