Skip to main content

diff

Function diff 

Source
pub fn diff<B: Blockstore + ?Sized>(
    store: &B,
    root_a: &Cid,
    root_b: &Cid,
) -> Result<Vec<DiffEntry>, Error>
Expand description

Compute the difference between the two Prolly trees a and b.

Returns every added / removed / changed entry, in ascending key order.

ยงErrors

Propagates store and codec errors.