diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-05-01 13:43:34 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-05-01 13:43:34 +0200 |
commit | 0dddcf867a65723ddf96343dd694f970f2f9538a (patch) | |
tree | 5854dbe3300cc1f5fc21b8182fa612ef34632053 /src/libstore/binary-cache-store.cc | |
parent | b0b81b75001d06fc38fc187969089a068ddf2ed2 (diff) |
Add a dummy Store::buildPaths() method
This default implementation of buildPaths() does nothing if all
requested paths are already valid, and throws an "unsupported
operation" error otherwise. This fixes a regression introduced by
c30330df6f67c81986dfb124631bc756c8e58c0d in binary cache and legacy
SSH stores.
Diffstat (limited to 'src/libstore/binary-cache-store.cc')
-rw-r--r-- | src/libstore/binary-cache-store.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libstore/binary-cache-store.cc b/src/libstore/binary-cache-store.cc index b536c6c00..46c5aa21b 100644 --- a/src/libstore/binary-cache-store.cc +++ b/src/libstore/binary-cache-store.cc @@ -114,11 +114,6 @@ void BinaryCacheStore::init() } } -void BinaryCacheStore::notImpl() -{ - throw Error("operation not implemented for binary cache stores"); -} - std::shared_ptr<std::string> BinaryCacheStore::getFile(const std::string & path) { std::promise<std::shared_ptr<std::string>> promise; |