about summary refs log tree commit diff
path: root/src/libstore/store-api.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2007-06-12T16·53+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2007-06-12T16·53+0000
commit6d1a1191b053645fa0277830524bf085a7fe0956 (patch)
tree53ad5f6484b612ace6b82224a86cbf95028ea350 /src/libstore/store-api.hh
parent9d9e1c5c41023e03ed5069ba6fc17ad3cfeab9f4 (diff)
* Support queryDeriver() in multi-user installations.
Diffstat (limited to 'src/libstore/store-api.hh')
-rw-r--r--src/libstore/store-api.hh4
1 files changed, 4 insertions, 0 deletions
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