Skip to main content

pack_directory

Function pack_directory 

Source
pub fn pack_directory(
    src_dir: &Path,
    out_path: &Path,
    format: ArchiveFormat,
) -> Result<()>
Expand description

Pack every file in src_dir (sorted by name for deterministic ordering) into a single archive at out_path. Entry names are the bare file names.