def path.eq.pick

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

import ezx@1.11.0.0/src/lock/plan.bend as Plan
import 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

Uses (2)

Used by (1)