diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-06-12 16:53:44 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-06-12 16:53:44 +0000 |
commit | 6d1a1191b053645fa0277830524bf085a7fe0956 (patch) | |
tree | 53ad5f6484b612ace6b82224a86cbf95028ea350 /src/libstore/store-api.hh | |
parent | 9d9e1c5c41023e03ed5069ba6fc17ad3cfeab9f4 (diff) |
* Support queryDeriver() in multi-user installations.
Diffstat (limited to 'src/libstore/store-api.hh')
-rw-r--r-- | src/libstore/store-api.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh index 8531eb040..01b561e9d 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 |