Skip to main content

diff_members

Function diff_members 

Source
pub fn diff_members(zip_a: &[u8], zip_b: &[u8]) -> Result<MemberDiff, CoreError>
Expand description

THE compare primitive: B-relative-to-A member statuses over two export zips — added = path in B not A, removed = in A not B, changed = both with differing normalized hashes, same = both with equal ones. Entries ride path-sorted (the BTreeMap union iterates sorted). The root project.json never appears (the member_hashes walk skips it).