def path.eq.pick
import ezx@1.11.0.0/src/lock/plan.bend as Planimport Base
428# the first path among a package's files that holds `=`, or "" when none
429# does. A path that holds one is not empty, so "" is never such a path.
430def path.eq.pick(ok: Bool, at: String, rest: String) -> String:
431 match ok:
432 case True{}:
433 rest
434 case False{}:
435 at