Skip to main content

Module modes

Module modes 

Source
Expand description

Changed-files and existing-findings baseline modes for incremental CI adoption.

Structs§

BaselineFile
Accepted semantic finding fingerprints and their multiplicities.
BaselineOutcome
Effect of applying or rewriting a baseline.

Constants§

BASELINE_SCHEMA_VERSION
Schema version of the compact, reviewable baseline format.

Functions§

apply_baseline
Suppresses findings found in a schema-compatible semantic baseline.
ensure_changed_root_is_trackable
Rejects changed-file mode when the analyzed root itself is excluded by Git.
finding_fingerprint
Returns a location-independent fingerprint for baseline comparison.
git_changed_files
Returns tracked changes since base plus untracked files beneath root.
retain_changed_findings
Retains findings whose primary or related location belongs to changed.
update_baseline
Rewrites a baseline from the current active findings and suppresses those findings.