summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/local/local_action.hpp
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2022-10-06 12:18:25 +0200
committerOliver Reiche <oliver.reiche@huawei.com>2022-10-07 13:30:06 +0200
commit51f8b186803292f111011d04d5291deb374dc34c (patch)
tree818606bb46be19cc56618f1d56eb5e3f309f4fae /src/buildtool/execution_api/local/local_action.hpp
parent64b8da270611ebb997c3801f09bd06878aee026a (diff)
downloadjustbuild-51f8b186803292f111011d04d5291deb374dc34c.tar.gz
LocalTreeMap: Prevent tree objects from being stored
... to align with the original idea of caching a flat list of blob objects, without the need to recursively traverse any trees. Consequently, we cannot create any map entry in places where we do not have all sub-tree entries at hand (e.g., LocalAPI, BazelAPI, BazelResponse).
Diffstat (limited to 'src/buildtool/execution_api/local/local_action.hpp')
-rw-r--r--src/buildtool/execution_api/local/local_action.hpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/buildtool/execution_api/local/local_action.hpp b/src/buildtool/execution_api/local/local_action.hpp
index 43569ea3..315897e9 100644
--- a/src/buildtool/execution_api/local/local_action.hpp
+++ b/src/buildtool/execution_api/local/local_action.hpp
@@ -37,7 +37,6 @@ class LocalAction final : public IExecutionAction {
private:
Logger logger_{"LocalExecution"};
std::shared_ptr<LocalStorage> storage_;
- std::shared_ptr<LocalTreeMap> tree_map_;
ArtifactDigest root_digest_{};
std::vector<std::string> cmdline_{};
std::vector<std::string> output_files_{};
@@ -48,7 +47,6 @@ class LocalAction final : public IExecutionAction {
CacheFlag cache_flag_{CacheFlag::CacheOutput};
LocalAction(std::shared_ptr<LocalStorage> storage,
- std::shared_ptr<LocalTreeMap> tree_map,
ArtifactDigest root_digest,
std::vector<std::string> command,
std::vector<std::string> output_files,
@@ -56,7 +54,6 @@ class LocalAction final : public IExecutionAction {
std::map<std::string, std::string> env_vars,
std::map<std::string, std::string> const& properties) noexcept
: storage_{std::move(storage)},
- tree_map_{std::move(tree_map)},
root_digest_{std::move(root_digest)},
cmdline_{std::move(command)},
output_files_{std::move(output_files)},