summaryrefslogtreecommitdiff
path: root/src/other_tools/root_maps/content_git_map.hpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-07-19 16:23:23 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-08-07 17:01:01 +0200
commitd95d2f9f79da0843593d68ad6d02abe520dcfbad (patch)
tree20cf0f322b7f7c967a07e38703f16720b641af7d /src/other_tools/root_maps/content_git_map.hpp
parentc7cad41329bec5439196be119a2d31626be4e9fe (diff)
downloadjustbuild-d95d2f9f79da0843593d68ad6d02abe520dcfbad.tar.gz
just-mr maps: Add logic for resolving symlinks in archive repositories
Diffstat (limited to 'src/other_tools/root_maps/content_git_map.hpp')
-rw-r--r--src/other_tools/root_maps/content_git_map.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/other_tools/root_maps/content_git_map.hpp b/src/other_tools/root_maps/content_git_map.hpp
index d2aeb22d..6eed8448 100644
--- a/src/other_tools/root_maps/content_git_map.hpp
+++ b/src/other_tools/root_maps/content_git_map.hpp
@@ -19,15 +19,17 @@
#include "src/other_tools/ops_maps/content_cas_map.hpp"
#include "src/other_tools/ops_maps/import_to_git_map.hpp"
+#include "src/other_tools/symlinks_map/resolve_symlinks_map.hpp"
/// \brief Maps the content of an archive to the resulting Git tree WS root,
-/// togehter with the information whether it was a cache hit.
+/// together with the information whether it was a cache hit.
using ContentGitMap =
AsyncMapConsumer<ArchiveRepoInfo, std::pair<nlohmann::json, bool>>;
[[nodiscard]] auto CreateContentGitMap(
gsl::not_null<ContentCASMap*> const& content_cas_map,
gsl::not_null<ImportToGitMap*> const& import_to_git_map,
+ gsl::not_null<ResolveSymlinksMap*> const& resolve_symlinks_map,
gsl::not_null<CriticalGitOpMap*> const& critical_git_op_map,
std::size_t jobs) -> ContentGitMap;