diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-11-18 16:36:30 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-12-04 18:03:44 +0100 |
commit | a8112042b57b7a1be8b37cce46d279fd0ff9e861 (patch) | |
tree | 8d6cd5607b70a9471ae22425e224c0fef5df18d6 /src/other_tools/ops_maps | |
parent | 8c15fbdd149fd34ddc024f2ba93e650dab81098b (diff) | |
download | justbuild-a8112042b57b7a1be8b37cce46d279fd0ff9e861.tar.gz |
Rename MRApiUtils to RehashUtils
Diffstat (limited to 'src/other_tools/ops_maps')
-rw-r--r-- | src/other_tools/ops_maps/TARGETS | 2 | ||||
-rw-r--r-- | src/other_tools/ops_maps/content_cas_map.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
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, |