diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2025-02-21 15:18:58 +0100 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2025-03-24 09:25:05 +0100 |
commit | f192705cb4834252507d228e7d6e0a38095976e3 (patch) | |
tree | 83040a418bc8c700cd5234d8d60f0497e2b7631f /src/buildtool/execution_api/common/api_bundle.cpp | |
parent | fc0c842eb2e938c7de405e365ff320eb28e04bc7 (diff) | |
download | justbuild-f192705cb4834252507d228e7d6e0a38095976e3.tar.gz |
ExecutionApi: Return TmpDir
Diffstat (limited to 'src/buildtool/execution_api/common/api_bundle.cpp')
-rw-r--r-- | src/buildtool/execution_api/common/api_bundle.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/buildtool/execution_api/common/api_bundle.cpp b/src/buildtool/execution_api/common/api_bundle.cpp index 7ab06e81..391e1343 100644 --- a/src/buildtool/execution_api/common/api_bundle.cpp +++ b/src/buildtool/execution_api/common/api_bundle.cpp @@ -43,7 +43,8 @@ auto ApiBundle::Create( remote_context->auth, remote_context->retry_config, config, - local_context->storage_config->hash_function); + local_context->storage_config->hash_function, + local_api->GetTempSpace()); } return ApiBundle{.local = std::move(local_api), .remote = std::move(remote_api)}; @@ -63,7 +64,8 @@ auto ApiBundle::MakeRemote( authentication, retry_config, config, - HashFunction{local->GetHashType()}); + HashFunction{local->GetHashType()}, + local->GetTempSpace()); } return local; } |