From 7c27025de2a6804b4a04e044e9af2503a22da2e3 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Wed, 29 Jan 2025 15:51:21 +0100 Subject: BazelCasClient: Use ArtifactDigest in bytestream reading --- src/buildtool/execution_api/common/bytestream_utils.hpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/buildtool/execution_api/common/bytestream_utils.hpp') 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"; @@ -43,9 +38,6 @@ class ByteStreamUtils final { /// "instance_name_example/blobs/62183d7a696acf7e69e218efc82c93135f8c85f895/4424712" 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; -- cgit v1.2.3