pub fn gather_checks(
stage_filter: Option<Stage>,
paths: &[String],
) -> Vec<CheckListing>Expand description
Every check that would be considered for stage_filter (or both stages,
when None), evaluated against paths.
Reads hook.skip and amont.severity.* from the current repo’s git
config, same as the original list_checks did — this is why it is not
unit-tested in isolation; see hooks/pull_rebase.rs’s own split between
pure helpers (unit-tested) and config-dependent behaviour (integration
tested) for the precedent.