summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/local/local_api.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/execution_api/local/local_api.hpp')
-rw-r--r--src/buildtool/execution_api/local/local_api.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buildtool/execution_api/local/local_api.hpp b/src/buildtool/execution_api/local/local_api.hpp
index 142da6fb..e2374258 100644
--- a/src/buildtool/execution_api/local/local_api.hpp
+++ b/src/buildtool/execution_api/local/local_api.hpp
@@ -33,6 +33,7 @@
#include "src/buildtool/execution_api/git/git_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"
class LocalApi final : public IExecutionApi {
public:
@@ -105,6 +106,8 @@ class LocalApi final : public IExecutionApi {
[[nodiscard]] auto GetHashType() const noexcept -> HashFunction::Type final;
+ [[nodiscard]] auto GetTempSpace() const noexcept -> TmpDir::Ptr final;
+
private:
LocalContext const& local_context_;
std::optional<GitApi> const git_api_;