diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-06-01 15:15:21 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-06-01 16:24:17 +0200 |
commit | cf198952d02aae5585e9bb895577b5b4e7b25707 (patch) | |
tree | 2161ec8760bf9d2ca64c14c1440e7db31bb1d1be /src/libstore/nar-info-disk-cache.hh | |
parent | 7850d3d27910c30232dd09dd86ee8afdaad26b90 (diff) |
HttpBinaryCacheStore: Fix caching of WantMassQuery
Also, test HttpBinaryCacheStore in addition to LocalBinaryCacheStore.
Diffstat (limited to 'src/libstore/nar-info-disk-cache.hh')
-rw-r--r-- | src/libstore/nar-info-disk-cache.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstore/nar-info-disk-cache.hh b/src/libstore/nar-info-disk-cache.hh index f86d720a9..88d909732 100644 --- a/src/libstore/nar-info-disk-cache.hh +++ b/src/libstore/nar-info-disk-cache.hh @@ -13,7 +13,8 @@ public: virtual void createCache(const std::string & uri, const Path & storeDir, bool wantMassQuery, int priority) = 0; - virtual bool cacheExists(const std::string & uri) = 0; + virtual bool cacheExists(const std::string & uri, + bool & wantMassQuery, int & priority) = 0; virtual std::pair<Outcome, std::shared_ptr<NarInfo>> lookupNarInfo( const std::string & uri, const std::string & hashPart) = 0; |