about summary refs log tree commit diff
path: root/src/libstore/remote-fs-accessor.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-10-17T19·39+0200
committerEelco Dolstra <edolstra@gmail.com>2017-10-17T19·39+0200
commitb24b8ef77c63727b9d6494fe25cfce45d57581be (patch)
tree465fd499ec54aa0cb26ec5039d14241a3c1783f8 /src/libstore/remote-fs-accessor.hh
parentca580bec35ea4d1984e36864158d7be99cfcb34b (diff)
BinaryCacheStore::addToStore(): Add NARs to the local cache
Diffstat (limited to 'src/libstore/remote-fs-accessor.hh')
-rw-r--r--src/libstore/remote-fs-accessor.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstore/remote-fs-accessor.hh b/src/libstore/remote-fs-accessor.hh
index d359ecc9c8..2a3fc01eff 100644
--- a/src/libstore/remote-fs-accessor.hh
+++ b/src/libstore/remote-fs-accessor.hh
@@ -18,6 +18,10 @@ class RemoteFSAccessor : public FSAccessor
 
     friend class BinaryCacheStore;
 
+    Path makeCacheFile(const Path & storePath);
+
+    void addToCache(const Path & storePath, const std::string & nar);
+
 public:
 
     RemoteFSAccessor(ref<Store> store,