pub fn archive_directory(
src_directory: PathBuf,
archive_filepath: PathBuf,
subdir_within_archive: Option<String>,
) -> Result<()>
Expand description
Compress single directory to gzipped tar archive. Accepts an Option for naming the subdir within the tar archive, which defaults to “.”, meaning no nesting.