def locked.of

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

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

183# the lock's text, read
184def locked.of(got: Maybe<&2, String>) -> Locked:
185  match got:
186    case None{}:
187      Unlocked{}
188    case Some{text}:
189      locked.parsed(T.parse(text))

Uses (5)

Used by (2)