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/serve/mr_local_api.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/buildtool/execution_api/serve/mr_local_api.hpp') diff --git a/src/buildtool/execution_api/serve/mr_local_api.hpp b/src/buildtool/execution_api/serve/mr_local_api.hpp index 3ad19475..d9f323cf 100644 --- a/src/buildtool/execution_api/serve/mr_local_api.hpp +++ b/src/buildtool/execution_api/serve/mr_local_api.hpp @@ -31,6 +31,7 @@ #include "src/buildtool/execution_api/common/execution_api.hpp" #include "src/buildtool/execution_api/local/context.hpp" #include "src/buildtool/execution_engine/dag/dag.hpp" +#include "src/utils/cpp/tmp_dir.hpp" /// \brief Multi-repo-specific implementation of the abstract Execution API. /// Handles interaction between a native storage and a remote, irrespective of @@ -133,6 +134,8 @@ class MRLocalApi final : public IExecutionApi { [[nodiscard]] auto GetHashType() const noexcept -> HashFunction::Type final; + [[nodiscard]] auto GetTempSpace() const noexcept -> TmpDir::Ptr final; + private: // retain local context references to have direct access to storages gsl::not_null native_context_; -- cgit v1.2.3