1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-22 00:41:08 +01:00

Return narHash when available

This commit is contained in:
Eelco Dolstra 2022-06-01 14:20:38 +02:00
parent b01ee2a93d
commit 6ab3b86cf5
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
3 changed files with 17 additions and 5 deletions

View file

@ -101,6 +101,10 @@ public:
std::optional<Hash> getRev() const;
std::optional<uint64_t> getRevCount() const;
std::optional<time_t> getLastModified() const;
private:
void checkLocked(Store & store, const StorePath & storePath, Input & input) const;
};
/* The InputScheme represents a type of fetcher. Each fetcher