From 21014f3be3e4f8ebf34243f4f10841f0fb0b3843 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Mon, 22 Jul 2024 16:41:52 +0200 Subject: Rename HashFunction methods and enums --- src/buildtool/execution_api/common/tree_reader_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/buildtool/execution_api/common/tree_reader_utils.cpp') 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; -- cgit v1.2.3