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/other_tools/repo_map/repos_to_setup_map.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/other_tools/repo_map') diff --git a/src/other_tools/repo_map/repos_to_setup_map.cpp b/src/other_tools/repo_map/repos_to_setup_map.cpp index 5bcfd717..cb6a0149 100644 --- a/src/other_tools/repo_map/repos_to_setup_map.cpp +++ b/src/other_tools/repo_map/repos_to_setup_map.cpp @@ -592,8 +592,8 @@ void DistdirCheckout(ExpressionPtr const& repo_desc, } // get hash of distdir content auto distdir_content_id = - HashFunction{HashFunction::JustHash::Native} - .ComputeBlobHash(nlohmann::json(*distdir_content_for_id).dump()) + HashFunction{HashFunction::Type::GitSHA1} + .HashBlobData(nlohmann::json(*distdir_content_for_id).dump()) .HexString(); // get the WS root as git tree DistdirInfo distdir_info = { -- cgit v1.2.3