Skip to main content

diff

Function diff 

Source
pub fn diff(
    resolver: &dyn ObjectResolver,
    old_root: &ObjectId,
    new_root: &ObjectId,
) -> Vec<DiffOp>
Expand description

Compute a structured diff between two state trees.

Returns a list of DiffOps describing every change needed to transform the state at old_root into the state at new_root.