fn tar(
ws: &Workspace<'_>,
pkg: &Package,
local_reg: Option<&TmpRegistry<'_>>,
ar_files: Vec<ArchiveFile>,
dst: &File,
filename: &str,
) -> CargoResult<u64>
Expand description
Compresses and packages a list of ArchiveFile
s and writes into the given file.
Returns the uncompressed size of the contents of the new archive file.