def locked.pick

ezx@1.11.0.0 · src/doctor/plan.bend:170

import ezx@1.11.0.0/src/doctor/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/toml/toml.bend as T
import ezx@1.11.0.0/src/lock/lock.bend as L

170# the verdict on a parse, with the answer in hand
171def locked.pick(ok: Bool, why: String, ss: List<&2, T.Sect>) -> Locked:
172  match ok:
173    case True{}:
174      Locked{L.hashes(ss)}
175    case False{}:
176      Unread{why}

Uses (6)

Used by (1)