1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 04:21:16 +02:00

Implement BinaryCacheStore::queryPathFromHashPart()

This commit is contained in:
Eelco Dolstra 2022-10-18 17:48:09 +02:00
parent 61f89e954a
commit e136d57f26
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
2 changed files with 12 additions and 2 deletions

View file

@ -95,8 +95,7 @@ public:
void queryPathInfoUncached(const StorePath & path,
Callback<std::shared_ptr<const ValidPathInfo>> callback) noexcept override;
std::optional<StorePath> queryPathFromHashPart(const std::string & hashPart) override
{ unsupported("queryPathFromHashPart"); }
std::optional<StorePath> queryPathFromHashPart(const std::string & hashPart) override;
void addToStore(const ValidPathInfo & info, Source & narSource,
RepairFlag repair, CheckSigsFlag checkSigs) override;