pub fn pack_directory(
src_dir_path: &str,
dst_path: &str,
enc: DirEncoder,
) -> Result<()>Expand description
Archives the source directory “src_dir_path” with archival method and compression and saves to “dst_path”. If “dst_path” exists, it overwrites.