Skip to main content

export_bundle

Function export_bundle 

Source
pub fn export_bundle(
    bundle_ref: &BundleRef,
    dest_path: &Path,
) -> Result<(), AppError>
Expand description

Copy (and then clean up) the collected ZIP to a user-chosen destination.

After a successful copy the temp directory is removed. On failure the temp dir is left in place so the user can retry without re-collecting.