pub fn diff(file1: PathBuf, file2: PathBuf, format: &str) -> Result<()>Expand description
Compare two 3MF files structurally.
Performs a detailed comparison detecting differences in metadata, resource counts, and build items.
§Arguments
file1- First 3MF file pathfile2- Second 3MF file pathformat- Output format (“text” or “json”)
§Errors
Returns an error if either file cannot be parsed.