From 089733c819066b801e28d6441cbff887e60aef51 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Thu, 24 Aug 2023 14:02:37 +0200 Subject: just-mr fetch: Allow to back up fetched archives to a given remote CAS --- src/other_tools/ops_maps/repo_fetch_map.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/other_tools/ops_maps/repo_fetch_map.hpp') diff --git a/src/other_tools/ops_maps/repo_fetch_map.hpp b/src/other_tools/ops_maps/repo_fetch_map.hpp index 9952bce5..424c9122 100644 --- a/src/other_tools/ops_maps/repo_fetch_map.hpp +++ b/src/other_tools/ops_maps/repo_fetch_map.hpp @@ -15,6 +15,7 @@ #ifndef INCLUDED_SRC_OTHER_TOOLS_OPS_MAPS_REPO_FETCH_MAP_HPP #define INCLUDED_SRC_OTHER_TOOLS_OPS_MAPS_REPO_FETCH_MAP_HPP +#include "src/buildtool/execution_api/common/execution_api.hpp" #include "src/other_tools/ops_maps/content_cas_map.hpp" /// \brief Maps an archive content hash to a status flag. @@ -23,6 +24,8 @@ using RepoFetchMap = AsyncMapConsumer; [[nodiscard]] auto CreateRepoFetchMap( gsl::not_null const& content_cas_map, std::filesystem::path const& fetch_dir, // should exist! + IExecutionApi* local_api, + IExecutionApi* remote_api, std::size_t jobs) -> RepoFetchMap; #endif // INCLUDED_SRC_OTHER_TOOLS_OPS_MAPS_REPO_FETCH_MAP_HPP \ No newline at end of file -- cgit v1.2.3