apply

fun apply(violations: List<Violation>, fingerprints: Set<String>): ViolationBaseline.Result(source)

Filters violations against a set of baseline fingerprints.

A non-INFO violation whose fingerprint is present in the baseline is dropped (it is known debt). INFO violations always pass through untouched. Returns both the surviving (new) violations and how many were suppressed by the baseline.