diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2025-02-14 16:15:05 +0100 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2025-03-24 09:14:22 +0100 |
commit | 6c009825cb320cc00531494985aa5fe7e0989971 (patch) | |
tree | da59ec4ea635e6460945c76c0f161f2f29214d0c /src/buildtool/execution_api | |
parent | bf185ababc1b97d2d2ab58de85449ffa7fd0b441 (diff) | |
download | justbuild-6c009825cb320cc00531494985aa5fe7e0989971.tar.gz |
TmpDir: minor refactoring
Diffstat (limited to 'src/buildtool/execution_api')
-rw-r--r-- | src/buildtool/execution_api/local/local_action.cpp | 2 | ||||
-rw-r--r-- | src/buildtool/execution_api/local/local_action.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/buildtool/execution_api/local/local_action.cpp b/src/buildtool/execution_api/local/local_action.cpp index 9764245c..9884a5ec 100644 --- a/src/buildtool/execution_api/local/local_action.cpp +++ b/src/buildtool/execution_api/local/local_action.cpp @@ -295,7 +295,7 @@ auto LocalAction::StageInput( res.error().message()); return false; } - TmpDirPtr new_copy_dir = + TmpDir::Ptr new_copy_dir = local_context_.storage_config->CreateTypedTmpDir("blob-copy"); if (new_copy_dir == nullptr) { logger_.Emit(LogLevel::Warning, diff --git a/src/buildtool/execution_api/local/local_action.hpp b/src/buildtool/execution_api/local/local_action.hpp index 9667dbfb..7610def0 100644 --- a/src/buildtool/execution_api/local/local_action.hpp +++ b/src/buildtool/execution_api/local/local_action.hpp @@ -57,7 +57,7 @@ class LocalAction final : public IExecutionAction { using OutputDirOrSymlink = std::variant<bazel_re::OutputDirectory, bazel_re::OutputSymlink>; - using FileCopies = std::unordered_map<Artifact::ObjectInfo, TmpDirPtr>; + using FileCopies = std::unordered_map<Artifact::ObjectInfo, TmpDir::Ptr>; auto Execute(Logger const* logger) noexcept -> IExecutionResponse::Ptr final; |