mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
Remove BinaryCacheStoreAccessor
Probably as a result of a bad merge in
4b8f1b0ec0
, we had both a
BinaryCacheStoreAccessor and a
RemoteFSAccessor. BinaryCacheStore::getFSAccessor() returned the
latter, but BinaryCacheStore::addToStore() checked for the
former. This probably caused hydra-queue-runner to download paths that
it just uploaded.
This commit is contained in:
parent
cbc216911d
commit
11ba4302e3
2 changed files with 4 additions and 61 deletions
|
@ -13,6 +13,9 @@ class RemoteFSAccessor : public FSAccessor
|
|||
std::map<Path, ref<FSAccessor>> nars;
|
||||
|
||||
std::pair<ref<FSAccessor>, Path> fetch(const Path & path_);
|
||||
|
||||
friend class BinaryCacheStore;
|
||||
|
||||
public:
|
||||
|
||||
RemoteFSAccessor(ref<Store> store);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue