diff options
Diffstat (limited to 'src/libutil/hash.hh')
-rw-r--r-- | src/libutil/hash.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libutil/hash.hh b/src/libutil/hash.hh index 0b5e46cc6b65..1d2fce6455c6 100644 --- a/src/libutil/hash.hh +++ b/src/libutil/hash.hh @@ -47,15 +47,15 @@ Hash parseHash(const string & s); bool isHash(const string & s); /* Compute the hash of the given string. */ -Hash hashString(const string & s); +Hash hashString(const string & s, HashType ht); /* Compute the hash of the given file. */ -Hash hashFile(const Path & path); +Hash hashFile(const Path & path, HashType ht); /* Compute the hash of the given path. The hash is defined as md5(dump(path)). */ -Hash hashPath(const Path & path); +Hash hashPath(const Path & path, HashType ht); #endif /* !__HASH_H */ |