pub fn dirty_perf_paths(root: &Path) -> Result<Vec<String>>Expand description
2026-09-26: The files under PERF_PATHS that git status reports as modified,
staged or untracked in this working tree, sorted and deduplicated. The gate run
records this list, since a dirty perf path means the binary was not built from the
commit the record names.
Untracked files are listed one by one (--untracked-files=all), not collapsed to
their directory. .benchmarks is not a perf path, so a record file written by an
earlier gate run is not reported.
ยงErrors
If git cannot run or git status fails, rather than reporting a clean tree.