Expand description
stale-doc native rule — detects documentation files that are likely stale because
strongly co-changed code files have been updated more recently.
Uses the co_change_edges table in the normalize index to find which code files
historically change together with each doc file, then compares last-commit timestamps.
Structs§
- Stale
DocConfig - Configurable options for the
stale-docrule. Deserialized fromextrafields on theRuleOverrideviarule_config().
Functions§
- build_
stale_ doc_ report - Build a
DiagnosticsReportfor thestale-docrule. - git_
last_ commit_ time - Returns the Unix timestamp (seconds) of the most recent commit that touches
rel_path.