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/ops_maps/TARGETS | 2 +- src/other_tools/ops_maps/content_cas_map.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/other_tools/ops_maps') diff --git a/src/other_tools/ops_maps/TARGETS b/src/other_tools/ops_maps/TARGETS index 22a91d0c..d0b82175 100644 --- a/src/other_tools/ops_maps/TARGETS +++ b/src/other_tools/ops_maps/TARGETS @@ -81,7 +81,7 @@ [ ["@", "fmt", "", "fmt"] , ["src/buildtool/common", "common"] , ["src/buildtool/crypto", "hasher"] - , ["src/buildtool/execution_api/serve", "utils"] + , ["src/buildtool/execution_api/utils", "rehash_utils"] , ["src/buildtool/file_system", "file_system_manager"] , ["src/buildtool/file_system", "git_repo"] , ["src/buildtool/file_system", "object_type"] diff --git a/src/other_tools/ops_maps/content_cas_map.cpp b/src/other_tools/ops_maps/content_cas_map.cpp index 9cfef72a..89024fa2 100644 --- a/src/other_tools/ops_maps/content_cas_map.cpp +++ b/src/other_tools/ops_maps/content_cas_map.cpp @@ -22,7 +22,7 @@ #include "src/buildtool/common/artifact.hpp" #include "src/buildtool/common/artifact_digest.hpp" #include "src/buildtool/crypto/hasher.hpp" -#include "src/buildtool/execution_api/serve/utils.hpp" +#include "src/buildtool/execution_api/utils/rehash_utils.hpp" #include "src/buildtool/file_system/file_system_manager.hpp" #include "src/buildtool/file_system/git_repo.hpp" #include "src/buildtool/file_system/object_type.hpp" @@ -318,7 +318,7 @@ auto CreateContentCASMap( return; } // cache association between digests - auto error_msg = MRApiUtils::StoreRehashedDigest( + auto error_msg = RehashUtils::StoreRehashedDigest( native_digest, *rehashed_digest, ObjectType::File, -- cgit v1.2.3