From b24b8ef77c63727b9d6494fe25cfce45d57581be Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 17 Oct 2017 21:39:48 +0200 Subject: BinaryCacheStore::addToStore(): Add NARs to the local cache --- src/libstore/remote-fs-accessor.hh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/libstore/remote-fs-accessor.hh') diff --git a/src/libstore/remote-fs-accessor.hh b/src/libstore/remote-fs-accessor.hh index d359ecc9c871..2a3fc01eff58 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, -- cgit 1.4.1