1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-05 04:01:47 +02:00

BinaryCacheStore::addToStore(): Add NARs to the local cache

This commit is contained in:
Eelco Dolstra 2017-10-17 21:39:48 +02:00
parent ca580bec35
commit b24b8ef77c
3 changed files with 26 additions and 10 deletions

View file

@ -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,