Skip to main content

verify_roundtrip

Function verify_roundtrip 

Source
pub async fn verify_roundtrip(
    file_path: &str,
    options: VerifyOptions<'_>,
) -> Result<RoundtripStatus, Box<dyn Error + Send + Sync>>
Expand description

Disassemble and reassemble file_path inside an isolated temp directory, then compare the reconstructed XML against the original. The caller’s file is never modified.