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:
parent
ca580bec35
commit
b24b8ef77c
3 changed files with 26 additions and 10 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue