diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2025-01-30 15:18:35 +0100 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2025-02-07 14:58:04 +0100 |
commit | 477c7d5e496b8eb5113b3b51f7152e05eae51fd7 (patch) | |
tree | dc66932c55fb9e7fd2353a6920bf1b0487209641 /src/other_tools/root_maps/distdir_git_map.cpp | |
parent | 0a8dbe086a23bbb905514007d21e2e04cdaae1e8 (diff) | |
download | justbuild-477c7d5e496b8eb5113b3b51f7152e05eae51fd7.tar.gz |
IExecutionApi: Rename IsAvailable to GetMissingDigests
Diffstat (limited to 'src/other_tools/root_maps/distdir_git_map.cpp')
-rw-r--r-- | src/other_tools/root_maps/distdir_git_map.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/other_tools/root_maps/distdir_git_map.cpp b/src/other_tools/root_maps/distdir_git_map.cpp index 44213cd9..02a935a4 100644 --- a/src/other_tools/root_maps/distdir_git_map.cpp +++ b/src/other_tools/root_maps/distdir_git_map.cpp @@ -416,7 +416,7 @@ auto CreateDistdirGitMap( } // try to supply the serve endpoint with the tree via the // remote CAS - if (digest and remote_api->IsAvailable({*digest})) { + if (digest and remote_api->IsAvailable(*digest)) { // tell serve to set up the root from the remote CAS // tree if (serve->GetTreeFromRemote(*digest)) { @@ -436,7 +436,7 @@ auto CreateDistdirGitMap( } // check if we have the tree in local CAS; if yes, upload it // to remote for the serve endpoint to find it - if (digest and local_api->IsAvailable({*digest})) { + if (digest and local_api->IsAvailable(*digest)) { if (not local_api->RetrieveToCas( {Artifact::ObjectInfo{ .digest = *digest, @@ -481,7 +481,7 @@ auto CreateDistdirGitMap( // if the root is not-absent, the order of checks is different; // first, look in the local CAS - if (digest and local_api->IsAvailable({*digest})) { + if (digest and local_api->IsAvailable(*digest)) { ImportFromCASAndSetRoot(key, *native_storage_config, *native_storage, |