Skip to main content

diff

Function diff 

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

Compute the diff between two manifest versions.

Iterates over both manifests’ sorted entries in lockstep (leveraging the BTreeMap ordering) and classifies each path as added, removed, or modified. Modification is detected by comparing blob_hash values.