diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2025-01-28 15:33:52 +0100 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2025-02-07 14:58:04 +0100 |
commit | 5fa4f4f6843fefdc64918cdfb14bf2c287bd387c (patch) | |
tree | 12edde49bfa8676c3e75a10d85cadef9b661088a /src/buildtool/execution_api/remote/bazel/bazel_action.hpp | |
parent | 477c7d5e496b8eb5113b3b51f7152e05eae51fd7 (diff) | |
download | justbuild-5fa4f4f6843fefdc64918cdfb14bf2c287bd387c.tar.gz |
BazelNetwork: Use unordered_set in UploadBlobs instead of BazelBlobContainer
Diffstat (limited to 'src/buildtool/execution_api/remote/bazel/bazel_action.hpp')
-rw-r--r-- | src/buildtool/execution_api/remote/bazel/bazel_action.hpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/buildtool/execution_api/remote/bazel/bazel_action.hpp b/src/buildtool/execution_api/remote/bazel/bazel_action.hpp index 909bb8fb..ae32a010 100644 --- a/src/buildtool/execution_api/remote/bazel/bazel_action.hpp +++ b/src/buildtool/execution_api/remote/bazel/bazel_action.hpp @@ -20,6 +20,7 @@ #include <memory> #include <optional> #include <string> +#include <unordered_set> #include <vector> #include "src/buildtool/common/artifact_digest.hpp" @@ -65,10 +66,10 @@ class BazelAction final : public IExecutionAction { std::map<std::string, std::string> const& env_vars, std::map<std::string, std::string> const& properties) noexcept; - [[nodiscard]] auto CreateBundlesForAction(BazelBlobContainer* blobs, - ArtifactDigest const& exec_dir, - bool do_not_cache) const noexcept - -> std::optional<bazel_re::Digest>; + [[nodiscard]] auto CreateBundlesForAction( + std::unordered_set<BazelBlob>* blobs, + ArtifactDigest const& exec_dir, + bool do_not_cache) const noexcept -> std::optional<bazel_re::Digest>; }; #endif // INCLUDED_SRC_BUILDTOOL_EXECUTION_API_REMOTE_BAZEL_BAZEL_ACTION_HPP |