diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-10-17 21:39:48 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-10-17 21:39:48 +0200 |
commit | b24b8ef77c63727b9d6494fe25cfce45d57581be (patch) | |
tree | 465fd499ec54aa0cb26ec5039d14241a3c1783f8 /src/libstore/remote-fs-accessor.hh | |
parent | ca580bec35ea4d1984e36864158d7be99cfcb34b (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.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstore/remote-fs-accessor.hh b/src/libstore/remote-fs-accessor.hh index d359ecc9c..2a3fc01ef 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, |