summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/git/git_api.hpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-05-24 17:46:49 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-05-28 16:19:19 +0200
commit6184c758d2d7512af94d133f6ecac1abce03490e (patch)
treea6d0f2c915798dee767b43198eed10efe18a3471 /src/buildtool/execution_api/git/git_api.hpp
parentdc273f4ce89dc6e562c4a99fd394c92f56eeb63f (diff)
downloadjustbuild-6184c758d2d7512af94d133f6ecac1abce03490e.tar.gz
Rename BlobContainer to BazelBlobContainer
Diffstat (limited to 'src/buildtool/execution_api/git/git_api.hpp')
-rw-r--r--src/buildtool/execution_api/git/git_api.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buildtool/execution_api/git/git_api.hpp b/src/buildtool/execution_api/git/git_api.hpp
index 3bbbfd1f..b26654f5 100644
--- a/src/buildtool/execution_api/git/git_api.hpp
+++ b/src/buildtool/execution_api/git/git_api.hpp
@@ -194,7 +194,7 @@ class GitApi final : public IExecutionApi {
// Collect blobs of missing artifacts from local CAS. Trees are
// processed recursively before any blob is uploaded.
- BlobContainer container{};
+ BazelBlobContainer container{};
for (auto const& dgst : missing_artifacts_info->digests) {
auto const& info = missing_artifacts_info->back_map[dgst];
std::optional<std::string> content;
@@ -205,7 +205,7 @@ class GitApi final : public IExecutionApi {
if (not tree) {
return false;
}
- BlobContainer tree_deps_only_blobs{};
+ BazelBlobContainer tree_deps_only_blobs{};
for (auto const& [path, entry] : *tree) {
if (entry->IsTree()) {
if (not RetrieveToCas(
@@ -280,7 +280,7 @@ class GitApi final : public IExecutionApi {
}
/// NOLINTNEXTLINE(google-default-arguments)
- [[nodiscard]] auto Upload(BlobContainer const& /*blobs*/,
+ [[nodiscard]] auto Upload(BazelBlobContainer const& /*blobs*/,
bool /*skip_find_missing*/ = false) noexcept
-> bool override {
// Upload to git cas not supported