mirror of
https://github.com/NixOS/nix.git
synced 2025-12-01 14:41:00 +01:00
Rename fromSRI to parseSRI for constistency
This commit is contained in:
parent
f61bc45d19
commit
9462d8a50b
4 changed files with 5 additions and 5 deletions
|
|
@ -35,7 +35,7 @@ std::unique_ptr<Input> inputFromAttrs(const Attrs & attrs)
|
|||
auto res = inputScheme->inputFromAttrs(attrs2);
|
||||
if (res) {
|
||||
if (auto narHash = maybeGetStrAttr(attrs, "narHash"))
|
||||
res->narHash = Hash::fromSRI(*narHash);
|
||||
res->narHash = Hash::parseSRI(*narHash);
|
||||
return res;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue