diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-08-29 14:47:12 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-08-30 17:17:09 +0200 |
commit | 74ae139a6df49de37868f723299a600dfd5e90d8 (patch) | |
tree | 9a718332d26f3c5280e8c86ebceb4a1b89613e35 /src/buildtool/execution_api/local/local_action.cpp | |
parent | 5ecbcbbcf71ca9fafaddf9a2353fe31a75fb33e4 (diff) | |
download | justbuild-74ae139a6df49de37868f723299a600dfd5e90d8.tar.gz |
Replace bazel_re::Digest in BazelMsgFactory (local trees)
...with ArtifactDigest.
Diffstat (limited to 'src/buildtool/execution_api/local/local_action.cpp')
-rw-r--r-- | src/buildtool/execution_api/local/local_action.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buildtool/execution_api/local/local_action.cpp b/src/buildtool/execution_api/local/local_action.cpp index ad106c6f..fd742f76 100644 --- a/src/buildtool/execution_api/local/local_action.cpp +++ b/src/buildtool/execution_api/local/local_action.cpp @@ -61,15 +61,15 @@ class BuildCleanupAnchor { std::filesystem::path const& dir_path) -> std::optional<bazel_re::Digest> { auto const& cas = storage.CAS(); auto store_blob = [&cas](std::filesystem::path const& path, - auto is_exec) -> std::optional<bazel_re::Digest> { + auto is_exec) -> std::optional<ArtifactDigest> { return cas.StoreBlob</*kOwner=*/true>(path, is_exec); }; auto store_tree = - [&cas](std::string const& content) -> std::optional<bazel_re::Digest> { + [&cas](std::string const& content) -> std::optional<ArtifactDigest> { return cas.StoreTree(content); }; auto store_symlink = - [&cas](std::string const& content) -> std::optional<bazel_re::Digest> { + [&cas](std::string const& content) -> std::optional<ArtifactDigest> { return cas.StoreBlob(content); }; return Compatibility::IsCompatible() |