Function write_zip_entries
Source pub fn write_zip_entries(
output_path: &Path,
entries: &[ZipEntryInput],
) -> Result<u64>
Expand description
Writes a pure-Rust PKZIP archive with per-entry stored (-0) or DEFLATE compression.
§Arguments
&Path - Destination .zip file path.
&[ZipEntryInput] - Ordered slice of entries to archive.
§Returns
io::Result<u64> - Total byte length of the written .zip file.