def co.lock

ezx@1.11.0.0 · src/tool/plan.bend:507

import ezx@1.11.0.0/src/tool/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/pkg/pkg.bend as K

507# the checkout's ez.lock.toml
508def co.lock(checkout: Co) -> Maybe<&2, String>:
509  match checkout:
510    case Kept{_t, l}:
511      l
512    case Laid{fs}:
513      K.look(fs, "ez.lock.toml")
514    case CoWait{_as, _us}:
515      None{}
516    case CoNo{_why}:
517      None{}

Uses (4)

Used by (1)