mirror of
https://github.com/NixOS/nix
synced 2025-06-27 00:11:17 +02:00
BinaryCacheStore: Support "none" compression method
This commit is contained in:
parent
8e065c6b3e
commit
5acb691402
5 changed files with 51 additions and 31 deletions
|
@ -19,6 +19,8 @@ private:
|
|||
|
||||
std::shared_ptr<Store> localStore;
|
||||
|
||||
std::string compression;
|
||||
|
||||
protected:
|
||||
|
||||
BinaryCacheStore(std::shared_ptr<Store> localStore,
|
||||
|
@ -44,7 +46,7 @@ private:
|
|||
|
||||
std::string narInfoFileFor(const Path & storePath);
|
||||
|
||||
void addToCache(const ValidPathInfo & info, const string & nar);
|
||||
void addToCache(const ValidPathInfo & info, ref<std::string> nar);
|
||||
|
||||
public:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue