mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
Typo
This commit is contained in:
parent
78f137e931
commit
75d2581390
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ ContentAddress parseContentAddress(std::string_view rawCa) {
|
|||
}
|
||||
return TextHash { hash };
|
||||
} else if (prefix == "fixed") {
|
||||
// This has to be an inverse to makeFixedOutputCA
|
||||
// This has to be an inverse of makeFixedOutputCA
|
||||
auto methodAndHash = rawCa.substr(prefixSeparator+1, string::npos);
|
||||
if (methodAndHash.substr(0,2) == "r:") {
|
||||
std::string_view hashRaw = methodAndHash.substr(2,string::npos);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue