From daca274041e31636f08927b0cebc56fd33c7bbdf Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Thu, 7 Jul 2022 17:28:29 +0200 Subject: LocalExecution: Use Git tree format - LocalStorage Add tree CAS and support reading Git trees - LocalAction: Create Git tree for output directory - LocalApi: Support availability and upload of Git trees - LocalStorage: Support dumping tree to stream in native mode --- src/buildtool/execution_api/common/local_tree_map.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/buildtool/execution_api/common/local_tree_map.hpp') diff --git a/src/buildtool/execution_api/common/local_tree_map.hpp b/src/buildtool/execution_api/common/local_tree_map.hpp index 77de2d53..2758c339 100644 --- a/src/buildtool/execution_api/common/local_tree_map.hpp +++ b/src/buildtool/execution_api/common/local_tree_map.hpp @@ -11,7 +11,9 @@ #include "src/buildtool/common/artifact.hpp" #include "src/buildtool/logging/logger.hpp" -/// \brief Maps digest of `bazel_re::Directory` to `LocalTree`. +/// \brief Maps `bazel_re::Digest` to `LocalTree`. +/// Digest may refer to `bazel_re::Directory` or Git tree object, depending on +/// mode being compatible or native, respectively. class LocalTreeMap { /// \brief Thread-safe pool of unique object infos. class ObjectInfoPool { -- cgit v1.2.3