def lockable.why.pick

ezx@1.11.0.0 · src/lock/plan.bend:492

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

492# the reason a lock with names that is not lockable gives
493def lockable.why.pick(ok: Bool, ps: List<&2, L.Pack>) -> String:
494  match ok:
495    case True{}:
496      lockable.why(ps)
497    case False{}:
498      "ez: ez.lock.toml cannot be written: a name, or the hash ez.toml records for it, holds `=`, a quote, a backslash or a newline"

Uses (5)

Used by (1)