Skip to main content

zip_bundle_export

Function zip_bundle_export 

Source
pub fn zip_bundle_export(export: &BundleExport) -> Result<Vec<u8>, String>
Expand description

Pack an export’s files into a zip archive in memory. First ZipWriter usage in this workspace — tool_store.rs only ever reads zips. No filesystem access: writes into an in-memory buffer, so this stays as side-effect-free as the exporter itself (the RPC handler decides what to do with the resulting bytes).