Skip to main content

sequencer_state

Function sequencer_state 

Source
pub fn sequencer_state(facts: SequencerFacts) -> SequencerState
Expand description

What: Decide from the three presence facts. Why: Any one head file means Git is waiting for the concluding commit.

In TS you’d write (pseudocode):

return present.includes(true) ? 'in-progress' : 'none';