Skip to main content

diff_documents

Function diff_documents 

Source
pub fn diff_documents(
    old: Source<'_>,
    new: Source<'_>,
    options: &UnifiedOptions,
) -> Result<String, String>
Expand description

Compares two DOCX byte slices or two Markdown strings as a standard unified patch without constructing a redline. Backs jubarte diff old.docx new.docx and the bindings.

ยงErrors

A message when old or new is Source::Docx and the package cannot be admitted.