mirror of
https://github.com/NixOS/nix
synced 2025-07-04 23:51:47 +02:00
Fixed build, we still have test errors
This commit is contained in:
parent
b798efb829
commit
c2e7f7a712
3 changed files with 34 additions and 18 deletions
|
@ -43,9 +43,11 @@ struct Hash
|
|||
// hash type must be part of string
|
||||
Hash(std::string_view s);
|
||||
|
||||
Hash fromSRI(std::string_view original);
|
||||
|
||||
private:
|
||||
// type must be provided, s must not include <type> prefix
|
||||
Hash(std::string_view s, HashType type);
|
||||
Hash(std::string_view s, std::pair<HashType, bool> typeAndSRI);
|
||||
|
||||
void init();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue