Skip to main content

next_adr_number

Function next_adr_number 

Source
pub fn next_adr_number(root: &Path) -> Result<u32>
Expand description

The next free ADR number: one past the highest NNNN-*.md in design/decisions. Errors if the directory can’t be read — a swallowed failure would silently default to 1 and restart the ADR series.