pub fn pack_directory(
dir: &Path,
zip_path: &str,
source_date_epoch: Option<u64>,
) -> Result<()>Expand description
Zip a whole site directory into zip_path — port of Perl Pack/Zip.pm get_archive: the top-level files in
name order with mimetype first and STORED (EPUB OCF wants it at byte 38), then each subdirectory’s tree, deflated.