check

fun check(baseline: Snapshot, current: Snapshot, profile: CompatibilityProfile = CompatibilityProfile(), scope: Scope = Scope(), accepted: List<AcceptedBreak> = emptyList(), renames: Map<String, String> = emptyMap()): Report

Checks current against the baseline.

Parameters

profile

the direction(s) and reader tolerance to enforce.

scope

restricts which contracts are checked.

accepted

breaks that are sanctioned (downgraded to acknowledged).

renames

declared serial-name moves (old → new), so a move isn't a break.