mirror of
https://github.com/NixOS/nix.git
synced 2025-11-15 23:12:44 +01:00
treewide: hash type -> hash algorithm
"hash type" -> "hash algorithm" in all comments, documentation, and messages. ht -> ha, [Hh]ashType -> [HhashAlgo] for all local variables and function arguments. No API change is made. Continuation of5334c9c792and837b889c41.
This commit is contained in:
parent
d83008c3a7
commit
fd47f76da9
8 changed files with 17 additions and 17 deletions
|
|
@ -58,7 +58,7 @@ struct Hash
|
|||
* Parse the hash from a string representation in the format
|
||||
* "[<type>:]<base16|base32|base64>" or "<type>-<base64>" (a
|
||||
* Subresource Integrity hash expression). If the 'type' argument
|
||||
* is not present, then the hash type must be specified in the
|
||||
* is not present, then the hash algorithm must be specified in the
|
||||
* string.
|
||||
*/
|
||||
static Hash parseAny(std::string_view s, std::optional<HashAlgorithm> optAlgo);
|
||||
|
|
@ -200,7 +200,7 @@ std::optional<HashFormat> parseHashFormatOpt(std::string_view hashFormatName);
|
|||
std::string_view printHashFormat(HashFormat hashFormat);
|
||||
|
||||
/**
|
||||
* Parse a string representing a hash type.
|
||||
* Parse a string representing a hash algorithm.
|
||||
*/
|
||||
HashAlgorithm parseHashAlgo(std::string_view s);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue