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 ArchiveFiles and writes into the given file.

Returns the uncompressed size of the contents of the new archive file.