1
0
Fork 0
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:
Eelco Dolstra 2016-04-29 17:02:57 +02:00
parent 8e065c6b3e
commit 5acb691402
5 changed files with 51 additions and 31 deletions

View file

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