diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-06-28 12:02:14 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-07-05 13:32:39 +0200 |
commit | 849671f3d4ea482d208da4b5adf5c2c3556e25e4 (patch) | |
tree | c4464ebd7bd88a3785c6337c2788d6e8b449fa22 /src/other_tools/ops_maps/git_update_map.hpp | |
parent | 3c7f2481918289e8d47922df1c87a7ae77357749 (diff) | |
download | justbuild-849671f3d4ea482d208da4b5adf5c2c3556e25e4.tar.gz |
Pass StorageConfig and Storage to just-mr maps
Diffstat (limited to 'src/other_tools/ops_maps/git_update_map.hpp')
-rw-r--r-- | src/other_tools/ops_maps/git_update_map.hpp | 11 |
1 files changed, 7 insertions, 4 deletions
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 <vector> #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<RepoDescriptionForUpdating> { }; } // namespace std -[[nodiscard]] auto CreateGitUpdateMap(GitCASPtr const& git_cas, - std::string const& git_bin, - std::vector<std::string> const& launcher, - std::size_t jobs) -> GitUpdateMap; +[[nodiscard]] auto CreateGitUpdateMap( + GitCASPtr const& git_cas, + std::string const& git_bin, + std::vector<std::string> const& launcher, + gsl::not_null<StorageConfig const*> const& storage_config, + std::size_t jobs) -> GitUpdateMap; #endif // INCLUDED_SRC_OTHER_TOOLS_OPS_MAPS_GIT_UPDATE_MAP_HPP |