Function nextest_runner::reuse_build::archive_to_file
source · [−]pub fn archive_to_file<'a, F>(
binary_list: &'a BinaryList,
cargo_metadata: &'a str,
path_mapper: &'a PathMapper,
format: ArchiveFormat,
zstd_level: i32,
output_file: &'a Utf8Path,
callback: F
) -> Result<(), ArchiveCreateError> where
F: FnMut(ArchiveEvent<'a>) -> Result<()>,
Expand description
Archives test binaries along with metadata to the given file.
The output file is a Zstandard-compressed tarball (.tar.zst
).