mirror of
https://github.com/NixOS/nix
synced 2025-06-29 19:03:16 +02: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 of5334c9c792
and837b889c41
.
This commit is contained in:
parent
d83008c3a7
commit
fd47f76da9
8 changed files with 17 additions and 17 deletions
|
@ -63,10 +63,10 @@ void restorePath(
|
|||
|
||||
HashResult hashPath(
|
||||
SourceAccessor & accessor, const CanonPath & path,
|
||||
FileIngestionMethod method, HashAlgorithm ht,
|
||||
FileIngestionMethod method, HashAlgorithm ha,
|
||||
PathFilter & filter)
|
||||
{
|
||||
HashSink sink { ht };
|
||||
HashSink sink { ha };
|
||||
dumpPath(accessor, path, sink, method, filter);
|
||||
return sink.finish();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue