diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-08-24 14:02:37 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-08-25 18:11:23 +0200 |
commit | 089733c819066b801e28d6441cbff887e60aef51 (patch) | |
tree | b5d1528c0ce3e25f042c70684812711fa33fb9b8 /src/other_tools/ops_maps/repo_fetch_map.hpp | |
parent | 833974c986eb46f88c87b3a95b4b840a333b24da (diff) | |
download | justbuild-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.hpp | 3 |
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 |