mirror of
https://github.com/NixOS/nix
synced 2025-06-29 02:11:15 +02:00
parent
b7203e853e
commit
42c5774e78
3 changed files with 11 additions and 0 deletions
|
@ -590,6 +590,11 @@ public:
|
|||
a notion of connection. Otherwise this is a no-op. */
|
||||
virtual void connect() { };
|
||||
|
||||
/* Get the priority of the store, used to order substituters. In
|
||||
particular, binary caches can specify a priority field in their
|
||||
"nix-cache-info" file. Lower value means higher priority. */
|
||||
virtual int getPriority() { return 0; }
|
||||
|
||||
protected:
|
||||
|
||||
Stats stats;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue