Skip to main content

compare

Function compare 

Source
pub fn compare(old: &Surface, new: &Surface) -> SurfaceDiff
Expand description

Diff two surfaces: added/removed items by path, changed items by span fingerprint (modules are exempt — their span is the whole file).