From f192705cb4834252507d228e7d6e0a38095976e3 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Fri, 21 Feb 2025 15:18:58 +0100 Subject: ExecutionApi: Return TmpDir --- src/buildtool/execution_api/local/local_api.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/buildtool/execution_api/local/local_api.cpp') diff --git a/src/buildtool/execution_api/local/local_api.cpp b/src/buildtool/execution_api/local/local_api.cpp index 81fb4bed..eef05021 100644 --- a/src/buildtool/execution_api/local/local_api.cpp +++ b/src/buildtool/execution_api/local/local_api.cpp @@ -333,3 +333,7 @@ auto LocalApi::SpliceBlob(ArtifactDigest const& blob_digest, auto LocalApi::GetHashType() const noexcept -> HashFunction::Type { return local_context_.storage_config->hash_function.GetType(); } + +auto LocalApi::GetTempSpace() const noexcept -> TmpDir::Ptr { + return local_context_.storage_config->CreateTypedTmpDir("api_space"); +} -- cgit v1.2.3