invalidates

Function invalidates 

Source
pub fn invalidates(gate: &GateCoverage, path: &str) -> bool
Expand description

2026-09-26: Whether changing path invalidates gate’s existing records. The checks run in this order, and the first that applies decides:

  1. under a BOUNDARY_FILES entry: invalidates;
  2. a registered test-only module: does not;
  3. a non-compiled kernel file (BENCH.toml): does not;
  4. not under PERF_PATHS: does not;
  5. otherwise invalidates unless one of gate’s exclusions covers it, so a path nobody classified invalidates.