Skip to main content

save_bundle

Function save_bundle 

Source
pub fn save_bundle<P: AsRef<Path>>(
    bundle: &ModelBundle,
    path: P,
) -> BundleResult<PathBuf>
Expand description

Write a bundle to disk in the .axonml container format.

Creates parent directories if they don’t exist. Ensures the output path has a .axonml extension (renames if missing). Returns the final path written.