Expand description
Set-difference between two ScanReports, keyed on PathEntry::path.
Membership is decided by path identity (including any #<fragment>
suffix appended by probe-driven decomposition, see
crate::scan::inventory §Per-file decomposition), and content
equality is decided by PathEntry::sha256. Entries appearing
only in curr are added; entries appearing only in prev are
removed; entries with the same path but different sha are
modified. Output vectors are sorted by path so the diff is
reproducible.
Structs§
- Change
- One modified-file row in
DiffReport::modified. - Diff
Report - Classified difference between two snapshots.
Functions§
- compute
- Compute the
DiffReportfromprev(older) tocurr(newer).