Plan.dirty.step: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/pub/plan.bend as Plan Lines 109-119 of ezx@1.11.0.0/src/pub/plan.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/pub/plan.bend&start_line=109&end_line=119 import Base # one line of `git status --porcelain` weighed, with the rest of the walk # behind a thunk so a status that names a hundred files stops at the first. # Every line git prints there names a path whose state on disk is not the # state the commit holds, so every one of them counts, whatever its two-letter # code says, `??` for an untracked file included. def dirty.step(blank: Bool, rest: Unit -> Bool) -> Bool: match blank: case True{}: rest(Unit{}) case False{}: True{} Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit