summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/common/bytestream_utils.hpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2025-01-29 15:51:21 +0100
committerMaksim Denisov <denisov.maksim@huawei.com>2025-02-07 14:58:04 +0100
commit7c27025de2a6804b4a04e044e9af2503a22da2e3 (patch)
treeae13a165901ca39a8b53779ddafbdb36de9e39dc /src/buildtool/execution_api/common/bytestream_utils.hpp
parent5f731043fb34e90dee9024167a4e7f69cbe67448 (diff)
downloadjustbuild-7c27025de2a6804b4a04e044e9af2503a22da2e3.tar.gz
BazelCasClient: Use ArtifactDigest in bytestream reading
Diffstat (limited to 'src/buildtool/execution_api/common/bytestream_utils.hpp')
-rw-r--r--src/buildtool/execution_api/common/bytestream_utils.hpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/buildtool/execution_api/common/bytestream_utils.hpp b/src/buildtool/execution_api/common/bytestream_utils.hpp
index ecfd2a97..a9d5ff59 100644
--- a/src/buildtool/execution_api/common/bytestream_utils.hpp
+++ b/src/buildtool/execution_api/common/bytestream_utils.hpp
@@ -23,11 +23,6 @@
#include "src/buildtool/crypto/hash_function.hpp"
#include "src/utils/cpp/expected.hpp"
-namespace build::bazel::remote::execution::v2 {
-class Digest;
-}
-namespace bazel_re = build::bazel::remote::execution::v2;
-
class ByteStreamUtils final {
static constexpr auto* kBlobs = "blobs";
static constexpr auto* kUploads = "uploads";
@@ -44,9 +39,6 @@ class ByteStreamUtils final {
class ReadRequest final {
public:
explicit ReadRequest(std::string instance_name,
- bazel_re::Digest const& digest) noexcept;
-
- explicit ReadRequest(std::string instance_name,
ArtifactDigest const& digest) noexcept;
[[nodiscard]] auto ToString() && noexcept -> std::string;