mirror of
https://github.com/NixOS/nix
synced 2025-06-29 06:21:14 +02:00
Merge remote-tracking branch 'upstream/master' into hash-always-has-type
This commit is contained in:
commit
5ea817dace
108 changed files with 8157 additions and 1845 deletions
|
@ -25,6 +25,9 @@ static size_t regularHashSize(HashType type) {
|
|||
abort();
|
||||
}
|
||||
|
||||
std::set<std::string> hashTypes = { "md5", "sha1", "sha256", "sha512" };
|
||||
|
||||
|
||||
void Hash::init()
|
||||
{
|
||||
hashSize = regularHashSize(type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue