Skip to main content

diff

Function diff 

Source
pub fn diff(old: &Node, new: &Node) -> Vec<NodeOp>
Expand description

Diffs old into new (§4.7): ops whose paths are relative to the entry root, with apply(old, &ops) == new. Always succeeds — anything the rule set cannot express incrementally degenerates to one root replace.