diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-02-29 17:47:52 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-02-29 18:07:46 +0100 |
commit | 7fb3ee34da91c7db0c6a98b35abd97b521581007 (patch) | |
tree | 7ea6ddc153b9bed93a32a937e387653887247b84 /src/other_tools/ops_maps/archive_fetch_map.hpp | |
parent | e8a9df96a084dc8c34d928a63e8fedbcb2eec9b6 (diff) | |
download | justbuild-7fb3ee34da91c7db0c6a98b35abd97b521581007.tar.gz |
archive_fetch_map: only have the actual archive content in the interface
... as this is the only part this map depends on, and not the
information on what to do with the archive, like style of unpacking,
etc. In this way, this map will also be reusable for fetching
foreign files.
Diffstat (limited to 'src/other_tools/ops_maps/archive_fetch_map.hpp')
-rw-r--r-- | src/other_tools/ops_maps/archive_fetch_map.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/other_tools/ops_maps/archive_fetch_map.hpp b/src/other_tools/ops_maps/archive_fetch_map.hpp index 89550996..9724a09b 100644 --- a/src/other_tools/ops_maps/archive_fetch_map.hpp +++ b/src/other_tools/ops_maps/archive_fetch_map.hpp @@ -23,7 +23,7 @@ #include "src/other_tools/ops_maps/content_cas_map.hpp" /// \brief Maps an archive content hash to a status flag. -using ArchiveFetchMap = AsyncMapConsumer<ArchiveRepoInfo, bool>; +using ArchiveFetchMap = AsyncMapConsumer<ArchiveContent, bool>; [[nodiscard]] auto CreateArchiveFetchMap( gsl::not_null<ContentCASMap*> const& content_cas_map, @@ -32,4 +32,4 @@ using ArchiveFetchMap = AsyncMapConsumer<ArchiveRepoInfo, bool>; std::optional<gsl::not_null<IExecutionApi*>> const& remote_api, std::size_t jobs) -> ArchiveFetchMap; -#endif // INCLUDED_SRC_OTHER_TOOLS_OPS_MAPS_ARCHIVE_FETCH_MAP_HPP
\ No newline at end of file +#endif // INCLUDED_SRC_OTHER_TOOLS_OPS_MAPS_ARCHIVE_FETCH_MAP_HPP |