summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/common/tree_reader_utils.cpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-07-22 16:41:52 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-07-22 17:02:34 +0200
commit21014f3be3e4f8ebf34243f4f10841f0fb0b3843 (patch)
tree1208031cead9f9ca78d0f13a273f8242c045f3fc /src/buildtool/execution_api/common/tree_reader_utils.cpp
parentb2f51059cc034f03c70df28a5597a591ed3e5c5d (diff)
downloadjustbuild-21014f3be3e4f8ebf34243f4f10841f0fb0b3843.tar.gz
Rename HashFunction methods and enums
Diffstat (limited to 'src/buildtool/execution_api/common/tree_reader_utils.cpp')
-rw-r--r--src/buildtool/execution_api/common/tree_reader_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildtool/execution_api/common/tree_reader_utils.cpp b/src/buildtool/execution_api/common/tree_reader_utils.cpp
index acd24108..0573d89e 100644
--- a/src/buildtool/execution_api/common/tree_reader_utils.cpp
+++ b/src/buildtool/execution_api/common/tree_reader_utils.cpp
@@ -91,7 +91,7 @@ auto TreeReaderUtils::ReadObjectInfos(bazel_re::Directory const& dir,
}
// SHA256 is used since bazel types are processed here.
- HashFunction const hash_function{HashFunction::JustHash::Compatible};
+ HashFunction const hash_function{HashFunction::Type::PlainSHA256};
for (auto const& l : dir.symlinks()) {
if (not store_info(l.name(), CreateObjectInfo(l, hash_function))) {
return false;