def lockable.pick
import ezx@1.11.0.0/src/lock/plan.bend as Planimport Base
468# the reason a lock that is not `lockable` gives: the package and path when a
469# path holds `=`, which is the one case a clean-looking lock hides
470def lockable.pick(none: Bool, why: String) -> String:
471 match none:
472 case True{}:
473 "ez: ez.lock.toml cannot be written: a hash repeats, or a hash, path or value holds a quote, a backslash or a newline"
474 case False{}:
475 why