mirror of
https://github.com/NixOS/nix.git
synced 2025-11-25 11:49:35 +01:00
Merge remote-tracking branch 'origin/master' into flakes
This commit is contained in:
commit
87873d0d65
25 changed files with 128 additions and 93 deletions
|
|
@ -15,8 +15,13 @@ public:
|
|||
virtual void createCache(const std::string & uri, const Path & storeDir,
|
||||
bool wantMassQuery, int priority) = 0;
|
||||
|
||||
virtual bool cacheExists(const std::string & uri,
|
||||
bool & wantMassQuery, int & priority) = 0;
|
||||
struct CacheInfo
|
||||
{
|
||||
bool wantMassQuery;
|
||||
int priority;
|
||||
};
|
||||
|
||||
virtual std::optional<CacheInfo> cacheExists(const std::string & uri) = 0;
|
||||
|
||||
virtual std::pair<Outcome, std::shared_ptr<NarInfo>> lookupNarInfo(
|
||||
const std::string & uri, const std::string & hashPart) = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue