Skip to main content

tree_diff

Function tree_diff 

Source
pub fn tree_diff(before: &PatchTree, after: &PatchTree) -> Vec<DiffEntry>
Expand description

Diff two trees by their canonical trace encodings.

Entries are sorted by address; a structural move shows up as a cluster of removed/added sites under the rewritten keys.