mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
@@ -29,7 +29,7 @@ SHA1::Hash ExtractHash(boost::uuids::detail::sha1 & sha1)
|
||||
std::copy_n(reinterpret_cast<uint8_t const *>(digest), sizeof(digest), std::begin(result));
|
||||
return result;
|
||||
}
|
||||
}
|
||||
} // namespace
|
||||
|
||||
// static
|
||||
SHA1::Hash SHA1::Calculate(std::string const & filePath)
|
||||
@@ -74,4 +74,4 @@ SHA1::Hash SHA1::CalculateForString(std::string_view str)
|
||||
sha1.process_bytes(str.data(), str.size());
|
||||
return ExtractHash(sha1);
|
||||
}
|
||||
} // coding
|
||||
} // namespace coding
|
||||
|
||||
Reference in New Issue
Block a user