pub fn create(
archive_path: impl AsRef<Utf8Path>,
src: impl IntoIterator<Item = impl AsRef<Utf8Path>>
) -> Result<()>
Available on crate feature
archive
only.Expand description
Create a tar.gz
archive from the given paths.
Examples
cli_xtask::archive::create("foo.tar.gz", ["./foo/", "./bar.txt"])?;