diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-12-02 16:41:36 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-12-02 16:41:36 +0000 |
commit | e25fad691aa3ccb492c4fb8840289f76151e553e (patch) | |
tree | 1610455ac3d4d1d0b992f56e10825cf91e1445e5 /src/libstore/remote-store.hh | |
parent | 30bf547f4f5bc881eb60c9e11020d077fbb8b899 (diff) |
* Move addTempRoot() to the store API, and add another function
syncWithGC() to allow clients to register GC roots without needing
write access to the global roots directory or the GC lock.
Diffstat (limited to 'src/libstore/remote-store.hh')
-rw-r--r-- | src/libstore/remote-store.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstore/remote-store.hh b/src/libstore/remote-store.hh index 62feee0ea..b11191c09 100644 --- a/src/libstore/remote-store.hh +++ b/src/libstore/remote-store.hh @@ -47,6 +47,10 @@ public: void ensurePath(const Path & path); + void addTempRoot(const Path & path); + + void syncWithGC(); + private: Pipe toChild; Pipe fromChild; |