From 849671f3d4ea482d208da4b5adf5c2c3556e25e4 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Fri, 28 Jun 2024 12:02:14 +0200 Subject: Pass StorageConfig and Storage to just-mr maps --- src/other_tools/ops_maps/git_update_map.hpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/other_tools/ops_maps/git_update_map.hpp') diff --git a/src/other_tools/ops_maps/git_update_map.hpp b/src/other_tools/ops_maps/git_update_map.hpp index bc021113..4b043284 100644 --- a/src/other_tools/ops_maps/git_update_map.hpp +++ b/src/other_tools/ops_maps/git_update_map.hpp @@ -21,6 +21,7 @@ #include #include "src/buildtool/multithreading/async_map_consumer.hpp" +#include "src/buildtool/storage/config.hpp" #include "src/other_tools/git_operations/git_repo_remote.hpp" #include "src/utils/cpp/hash_combine.hpp" @@ -51,9 +52,11 @@ struct hash { }; } // namespace std -[[nodiscard]] auto CreateGitUpdateMap(GitCASPtr const& git_cas, - std::string const& git_bin, - std::vector const& launcher, - std::size_t jobs) -> GitUpdateMap; +[[nodiscard]] auto CreateGitUpdateMap( + GitCASPtr const& git_cas, + std::string const& git_bin, + std::vector const& launcher, + gsl::not_null const& storage_config, + std::size_t jobs) -> GitUpdateMap; #endif // INCLUDED_SRC_OTHER_TOOLS_OPS_MAPS_GIT_UPDATE_MAP_HPP -- cgit v1.2.3