Skip to main content

check_growth

Function check_growth 

Source
pub fn check_growth(
    live: &[Probe],
    base_table: &str,
    root: &Path,
) -> Result<(), String>
Expand description

The one growth-direction check, shared by growth_probes_never_rise (base = the working-tree table) and cargo xtask greenfield-status --check-growth (base = the table at the PR’s base revision, so a hand-edited row cannot launder a rise). Compares live’s growth probes with base_table’s rows and requires a pending file under root to raises: each rise.