Skip to main content

compute

Function compute 

Source
pub fn compute(prev: &ScanReport, curr: &ScanReport) -> DiffReport
Expand description

Compute the DiffReport from prev (older) to curr (newer).

Pure function: no I/O, no allocation of foreign resources. Comparing a report against itself yields an empty diff (DiffReport::is_empty returns true).