Skip to main content

semantic_diff

Function semantic_diff 

Source
pub fn semantic_diff(
    a: &[u8],
    b: &[u8],
    planes: Option<&[String]>,
) -> Result<SemanticDiff, DocError>
Expand description

Compare two documents semantically.

planes filters which planes are evaluated (None = all). Unknown plane names are ignored. Parse failures of either input are hard errors — a document that cannot be opened cannot be compared; use djvu validate for damaged files.