Function zip_create_from_directory_with_options

Source
pub fn zip_create_from_directory_with_options<F, T>(
    archive_file: &PathBuf,
    directory: &PathBuf,
    cb_file_options: F,
) -> ZipResult<()>
where T: FileOptionExtension, F: Fn(&PathBuf) -> FileOptions<'_, T>,
Expand description

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