summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/common/bytestream_utils.cpp
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.cpp
parent5f731043fb34e90dee9024167a4e7f69cbe67448 (diff)
downloadjustbuild-7c27025de2a6804b4a04e044e9af2503a22da2e3.tar.gz
BazelCasClient: Use ArtifactDigest in bytestream reading
Diffstat (limited to 'src/buildtool/execution_api/common/bytestream_utils.cpp')
-rw-r--r--src/buildtool/execution_api/common/bytestream_utils.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/buildtool/execution_api/common/bytestream_utils.cpp b/src/buildtool/execution_api/common/bytestream_utils.cpp
index 2afc3e60..13759eba 100644
--- a/src/buildtool/execution_api/common/bytestream_utils.cpp
+++ b/src/buildtool/execution_api/common/bytestream_utils.cpp
@@ -60,13 +60,6 @@ namespace {
}
} // namespace
-ByteStreamUtils::ReadRequest::ReadRequest(
- std::string instance_name,
- bazel_re::Digest const& digest) noexcept
- : instance_name_{std::move(instance_name)},
- hash_{digest.hash()},
- size_{static_cast<std::size_t>(digest.size_bytes())} {}
-
ByteStreamUtils::ReadRequest::ReadRequest(std::string instance_name,
ArtifactDigest const& digest) noexcept
: instance_name_{std::move(instance_name)},