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/archive_fetch_map.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/other_tools/ops_maps/archive_fetch_map.hpp') diff --git a/src/other_tools/ops_maps/archive_fetch_map.hpp b/src/other_tools/ops_maps/archive_fetch_map.hpp index 6ec3e44c..772d59e4 100644 --- a/src/other_tools/ops_maps/archive_fetch_map.hpp +++ b/src/other_tools/ops_maps/archive_fetch_map.hpp @@ -21,6 +21,7 @@ #include "gsl/gsl" #include "src/buildtool/execution_api/common/execution_api.hpp" +#include "src/buildtool/storage/storage.hpp" #include "src/other_tools/ops_maps/content_cas_map.hpp" /// \brief Maps an archive content hash to a status flag. @@ -29,6 +30,7 @@ using ArchiveFetchMap = AsyncMapConsumer; [[nodiscard]] auto CreateArchiveFetchMap( gsl::not_null const& content_cas_map, std::filesystem::path const& fetch_dir, // should exist! + gsl::not_null const& storage, gsl::not_null const& local_api, IExecutionApi const* remote_api, std::size_t jobs) -> ArchiveFetchMap; -- cgit v1.2.3