mirror of
https://github.com/NixOS/nix
synced 2025-07-04 23:51:47 +02:00
Write the implementation for parseNonSRIUnprefixed
This commit is contained in:
parent
ea48e3a5b5
commit
b6b10b1d4c
2 changed files with 6 additions and 1 deletions
|
@ -43,7 +43,7 @@ struct Hash
|
|||
// hash type must be part of string
|
||||
static Hash parseAnyPrefixed(std::string_view s);
|
||||
// prefix parsed separately; non SRI hash
|
||||
static Hash parseAnyUnprefixed(std::string_view s, HashType type);
|
||||
static Hash parseNonSRIUnprefixed(std::string_view s, HashType type);
|
||||
|
||||
static Hash parseSRI(std::string_view original);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue