pub fn create_tarball(
dest: &Path,
base_dir: &Path,
entries: &[&str],
) -> Result<()>Expand description
Creates a .tar.gz archive at dest from entries inside base_dir.
ยงErrors
Returns an error if the archive cannot be created or any file cannot be added.