mirror of
https://github.com/NixOS/nix
synced 2025-06-27 00:11:17 +02:00
Re-implement the WantMassQuery property of binary caches
This commit is contained in:
parent
b66ab6cdbc
commit
e222484401
8 changed files with 40 additions and 8 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue