diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-08-29 11:35:37 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-08-30 17:17:09 +0200 |
commit | d551ef4acdf1732a145724b70f65be5fbe4052b0 (patch) | |
tree | 0cd3d2da73907d5d142b6b8c6b92304ed0a9a17e /src/buildtool/execution_api/local/local_api.hpp | |
parent | 8520a8fe2b2fc20940ed6457971a8de179343449 (diff) | |
download | justbuild-d551ef4acdf1732a145724b70f65be5fbe4052b0.tar.gz |
Replace bazel_re::Digest in LocalCAS::{...}Path
...with ArtifactDigest.
Diffstat (limited to 'src/buildtool/execution_api/local/local_api.hpp')
-rw-r--r-- | src/buildtool/execution_api/local/local_api.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/buildtool/execution_api/local/local_api.hpp b/src/buildtool/execution_api/local/local_api.hpp index 59dc1880..35b7b768 100644 --- a/src/buildtool/execution_api/local/local_api.hpp +++ b/src/buildtool/execution_api/local/local_api.hpp @@ -293,7 +293,9 @@ class LocalApi final : public IExecutionApi { std::vector<std::string>* targets) { targets->reserve(digests.size()); for (auto const& digest : digests) { - auto p = cas.BlobPath(digest, /*is_executable=*/false); + auto p = + cas.BlobPath(static_cast<ArtifactDigest>(digest), + /*is_executable=*/false); auto content = FileSystemManager::ReadFile(*p); targets->emplace_back(*content); } |