summaryrefslogtreecommitdiff
path: root/src/other_tools/ops_maps/repo_fetch_map.hpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-08-24 14:02:37 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-08-25 18:11:23 +0200
commit089733c819066b801e28d6441cbff887e60aef51 (patch)
treeb5d1528c0ce3e25f042c70684812711fa33fb9b8 /src/other_tools/ops_maps/repo_fetch_map.hpp
parent833974c986eb46f88c87b3a95b4b840a333b24da (diff)
downloadjustbuild-089733c819066b801e28d6441cbff887e60aef51.tar.gz
just-mr fetch: Allow to back up fetched archives to a given remote CAS
Diffstat (limited to 'src/other_tools/ops_maps/repo_fetch_map.hpp')
-rw-r--r--src/other_tools/ops_maps/repo_fetch_map.hpp3
1 files changed, 3 insertions, 0 deletions
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<ArchiveRepoInfo, bool>;
[[nodiscard]] auto CreateRepoFetchMap(
gsl::not_null<ContentCASMap*> 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