summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/common/local_tree_map.hpp
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2022-07-07 17:28:29 +0200
committerSascha Roloff <sascha.roloff@huawei.com>2022-08-05 14:41:31 +0200
commitdaca274041e31636f08927b0cebc56fd33c7bbdf (patch)
treed6b2c838d92abf7b4a4e98557359edf68fb84bcc /src/buildtool/execution_api/common/local_tree_map.hpp
parent13fd883b8cfa9531523f3113b32794f803c1176a (diff)
downloadjustbuild-daca274041e31636f08927b0cebc56fd33c7bbdf.tar.gz
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
Diffstat (limited to 'src/buildtool/execution_api/common/local_tree_map.hpp')
-rw-r--r--src/buildtool/execution_api/common/local_tree_map.hpp4
1 files changed, 3 insertions, 1 deletions
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 {