Skip to main content

next_attempt_number

Function next_attempt_number 

Source
pub fn next_attempt_number(attempt: i64) -> i64
Expand description

What: The landing attempt number that follows a lost race. Why: The attempt number names the attempt’s landing files, so two attempts of one commit never share a name.

In TS you’d write (pseudocode):

attempt + 1