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:
parent
b01ee2a93d
commit
6ab3b86cf5
3 changed files with 17 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue