def decide.clean

ezx@1.11.0.0 · src/pub/plan.bend:1159

import ezx@1.11.0.0/src/pub/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/pub/world.bend as PW

1159# a status that named a path refuses, and nothing is read or sent
1160def decide.clean(bad: Bool, +text: String, +world: PW.World) -> Verdict:
1161  match bad:
1162    case True{}:
1163      Stop{why.dirty(text)}
1164    case False{}:
1165      decide.walk(walked(world), world)

Uses (7)

Used by (1)