pub fn zip_create_from_directory_with_options<F>(
    archive_file: &PathBuf,
    directory: &PathBuf,
    options_map: F
) -> ZipResult<()>
where F: Fn(&PathBuf) -> FileOptions,
Expand description

Creates a zip archive that contains the files and directories from the specified directory, uses the specified compression level.