Pkg.walk.spent: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/pkg/pkg.bend as Pkg Lines 1051-1059 of ezx@1.11.0.0/src/pkg/pkg.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&start_line=1051&end_line=1059 import Base # the fuel ran out: a walk that is over stays as it is, and one with files # still queued is spent, so it is refused rather than hashed short def walk.spent(done: Bool, st: State) -> State: match done: case True{}: st case False{}: State{seen, out, _stop, queue} = st State{seen, out, Spent{}, queue} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&name=State https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&name=Stop