Skip to main content

scan

pub fn scan(
    services: &Services,
) -> impl Stream<Item = Result<Finding>> + Send + '_
Expand description

Streams each repeated row and each key that cannot be read.

Only adjacent rows are compared, in key order, and the first row of a run is taken as the keeper. A key with a thread kind is compared against but never reported, because one user holds a row per thread, and a pre-thread row is kept even where a thread-aware row of the same count follows it. An unreadable key breaks adjacency, so the rows either side of it are not called repeats.