Re-implement the WantMassQuery property of binary caches
This commit is contained in:
@@ -33,6 +33,9 @@ protected:
|
||||
doesn't exist. */
|
||||
virtual std::shared_ptr<std::string> getFile(const std::string & path) = 0;
|
||||
|
||||
bool wantMassQuery_ = false;
|
||||
int priority = 50;
|
||||
|
||||
public:
|
||||
|
||||
virtual void init();
|
||||
@@ -78,6 +81,8 @@ public:
|
||||
SubstitutablePathInfos & infos)
|
||||
{ }
|
||||
|
||||
bool wantMassQuery() { return wantMassQuery_; }
|
||||
|
||||
void addToStore(const ValidPathInfo & info, const std::string & nar,
|
||||
bool repair = false) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user