pub fn export_model(
input: &Path,
format: &str,
verbose: bool,
load_stdlib: bool,
stdlib_path: Option<&Path>,
self_contained: bool,
) -> Result<Vec<u8>, String>Expand description
Export a model to an interchange format.
Supported formats:
xmi- XML Model Interchangekpar- Kernel Package Archive (ZIP)jsonld- JSON-LD
§Arguments
input- Path to a file or directory to analyzeformat- Output format (xmi, kpar, jsonld)verbose- Enable verbose outputload_stdlib- Whether to load the standard librarystdlib_path- Optional custom path to the standard library
§Returns
The serialized model as bytes.