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/store-api.hh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/libstore/store-api.hh') diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh index 8531eb040496..01b561e9d496 100644 --- a/src/libstore/store-api.hh +++ b/src/libstore/store-api.hh @@ -77,6 +77,10 @@ public: virtual void queryReferrers(const Path & path, PathSet & referrers) = 0; + /* Query the deriver of a store path. Return the empty string if + no deriver has been set. */ + virtual Path queryDeriver(const Path & path) = 0; + /* Copy the contents of a path to the store and register the validity the resulting path. The resulting path is returned. If `fixed' is true, then the output of a fixed-output -- cgit 1.4.1