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/common/execution_api.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/buildtool/execution_api/common/execution_api.hpp') diff --git a/src/buildtool/execution_api/common/execution_api.hpp b/src/buildtool/execution_api/common/execution_api.hpp index 43a7e581..001c9189 100644 --- a/src/buildtool/execution_api/common/execution_api.hpp +++ b/src/buildtool/execution_api/common/execution_api.hpp @@ -30,6 +30,7 @@ #include "src/buildtool/crypto/hash_function.hpp" #include "src/buildtool/execution_api/common/execution_action.hpp" #include "src/buildtool/execution_engine/dag/dag.hpp" +#include "src/utils/cpp/tmp_dir.hpp" /// \brief Abstract remote execution API /// Can be used to create actions. @@ -156,6 +157,8 @@ class IExecutionApi { [[nodiscard]] virtual auto GetHashType() const noexcept -> HashFunction::Type = 0; + + [[nodiscard]] virtual auto GetTempSpace() const noexcept -> TmpDir::Ptr = 0; }; #endif // INCLUDED_SRC_BUILDTOOL_EXECUTION_API_COMMON_EXECUTION_APIHPP -- cgit v1.2.3