Skip to main content

list_logical_changes

Function list_logical_changes 

Source
pub fn list_logical_changes(docx: &[u8]) -> Result<Vec<Change>, ChangeError>
Expand description

Every logical change, story by story, in document order: the changes jubarte changes lists. One author’s touching insertions, or touching deletions, are one change with a composite id (r7+8+9+10) and Change::members; a deletion run followed by the same author’s insertion run is one ChangeKind::Replacement (module logical has the rule). Every other element is listed as list_changes lists it.

§Errors

ChangeError::Package when the package is not a readable zip.