From 74ae139a6df49de37868f723299a600dfd5e90d8 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Thu, 29 Aug 2024 14:47:12 +0200 Subject: Replace bazel_re::Digest in BazelMsgFactory (local trees) ...with ArtifactDigest. --- src/buildtool/execution_api/local/local_action.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/buildtool/execution_api/local/local_action.cpp') 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 { auto const& cas = storage.CAS(); auto store_blob = [&cas](std::filesystem::path const& path, - auto is_exec) -> std::optional { + auto is_exec) -> std::optional { return cas.StoreBlob(path, is_exec); }; auto store_tree = - [&cas](std::string const& content) -> std::optional { + [&cas](std::string const& content) -> std::optional { return cas.StoreTree(content); }; auto store_symlink = - [&cas](std::string const& content) -> std::optional { + [&cas](std::string const& content) -> std::optional { return cas.StoreBlob(content); }; return Compatibility::IsCompatible() -- cgit v1.2.3