diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-04-29T15·02+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-04-29T15·02+0200 |
commit | 5acb6914020a94be8468d7670b564388c59794ee (patch) | |
tree | 0ba3c95263577cab2cd5a69810c755485ef57a4c /src/libstore/binary-cache-store.hh | |
parent | 8e065c6b3e36e4cd113769575c0045b6d42357ef (diff) |
BinaryCacheStore: Support "none" compression method
Diffstat (limited to 'src/libstore/binary-cache-store.hh')
-rw-r--r-- | src/libstore/binary-cache-store.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstore/binary-cache-store.hh b/src/libstore/binary-cache-store.hh index f6fa0cac03db..46a38a1e0fc3 100644 --- a/src/libstore/binary-cache-store.hh +++ b/src/libstore/binary-cache-store.hh @@ -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: |