Function cargo::ops::cargo_package::tar
source · fn tar(
ws: &Workspace<'_>,
pkg: &Package,
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.