summaryrefslogtreecommitdiff
path: root/src/other_tools/root_maps/content_git_map.hpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-06-28 12:02:14 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-07-05 13:32:39 +0200
commit849671f3d4ea482d208da4b5adf5c2c3556e25e4 (patch)
treec4464ebd7bd88a3785c6337c2788d6e8b449fa22 /src/other_tools/root_maps/content_git_map.hpp
parent3c7f2481918289e8d47922df1c87a7ae77357749 (diff)
downloadjustbuild-849671f3d4ea482d208da4b5adf5c2c3556e25e4.tar.gz
Pass StorageConfig and Storage to just-mr maps
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, 4 insertions, 0 deletions
diff --git a/src/other_tools/root_maps/content_git_map.hpp b/src/other_tools/root_maps/content_git_map.hpp
index 959edaa9..ddf922f4 100644
--- a/src/other_tools/root_maps/content_git_map.hpp
+++ b/src/other_tools/root_maps/content_git_map.hpp
@@ -25,6 +25,8 @@
#include "src/buildtool/execution_api/common/execution_api.hpp"
#include "src/buildtool/file_system/symlinks_map/resolve_symlinks_map.hpp"
#include "src/buildtool/serve_api/remote/serve_api.hpp"
+#include "src/buildtool/storage/config.hpp"
+#include "src/buildtool/storage/storage.hpp"
#include "src/other_tools/just_mr/mirrors.hpp"
#include "src/other_tools/ops_maps/content_cas_map.hpp"
#include "src/other_tools/ops_maps/import_to_git_map.hpp"
@@ -44,6 +46,8 @@ using ContentGitMap =
gsl::not_null<ResolveSymlinksMap*> const& resolve_symlinks_map,
gsl::not_null<CriticalGitOpMap*> const& critical_git_op_map,
ServeApi const* serve,
+ gsl::not_null<StorageConfig const*> const& storage_config,
+ gsl::not_null<Storage const*> const& storage,
IExecutionApi const* remote_api,
bool fetch_absent,
std::size_t jobs) -> ContentGitMap;