From a8112042b57b7a1be8b37cce46d279fd0ff9e861 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Mon, 18 Nov 2024 16:36:30 +0100 Subject: Rename MRApiUtils to RehashUtils --- src/other_tools/root_maps/root_utils.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/other_tools/root_maps/root_utils.cpp') diff --git a/src/other_tools/root_maps/root_utils.cpp b/src/other_tools/root_maps/root_utils.cpp index 85c0ee62..13e18d06 100644 --- a/src/other_tools/root_maps/root_utils.cpp +++ b/src/other_tools/root_maps/root_utils.cpp @@ -25,7 +25,7 @@ #include "src/buildtool/common/repository_config.hpp" #include "src/buildtool/crypto/hash_function.hpp" #include "src/buildtool/execution_api/serve/mr_git_api.hpp" -#include "src/buildtool/execution_api/serve/utils.hpp" +#include "src/buildtool/execution_api/utils/rehash_utils.hpp" #include "src/buildtool/file_system/object_type.hpp" #include "src/utils/cpp/expected.hpp" @@ -92,10 +92,11 @@ auto EnsureAbsentRootOnServe( ArtifactDigest remote_digest = *native_digest; if (compat_storage_config != nullptr) { // in compatible mode, get compatible digest from mapping, if exists - auto cached_obj = MRApiUtils::ReadRehashedDigest(*native_digest, - *native_storage_config, - *compat_storage_config, - /*from_git=*/true); + auto cached_obj = + RehashUtils::ReadRehashedDigest(*native_digest, + *native_storage_config, + *compat_storage_config, + /*from_git=*/true); if (not cached_obj) { (*logger)(cached_obj.error(), /*fatal=*/true); return false; -- cgit v1.2.3