summaryrefslogtreecommitdiff
path: root/src/buildtool/crypto/hash_function.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/crypto/hash_function.cpp')
-rw-r--r--src/buildtool/crypto/hash_function.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/buildtool/crypto/hash_function.cpp b/src/buildtool/crypto/hash_function.cpp
index 6f240e50..4be9033d 100644
--- a/src/buildtool/crypto/hash_function.cpp
+++ b/src/buildtool/crypto/hash_function.cpp
@@ -57,15 +57,13 @@ auto HashFunction::HashTaggedLine(std::string const& data,
return std::move(hasher).Finalize();
}
-auto HashFunction::HashBlobFile(
- std::filesystem::path const& path) const noexcept
- -> std::optional<std::pair<Hasher::HashDigest, std::uintmax_t>> {
+auto HashFunction::HashBlobFile(std::filesystem::path const& path) const
+ noexcept -> std::optional<std::pair<Hasher::HashDigest, std::uintmax_t>> {
return HashTaggedFile(path, CreateGitBlobTag);
}
-auto HashFunction::HashTreeFile(
- std::filesystem::path const& path) const noexcept
- -> std::optional<std::pair<Hasher::HashDigest, std::uintmax_t>> {
+auto HashFunction::HashTreeFile(std::filesystem::path const& path) const
+ noexcept -> std::optional<std::pair<Hasher::HashDigest, std::uintmax_t>> {
return HashTaggedFile(path, CreateGitTreeTag);
}