def outcome.entry

ezx@1.11.0.0 · src/add/plan.bend:437

import ezx@1.11.0.0/src/add/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/add/world.bend as A
import ezx@1.11.0.0/src/lock/plan.bend as P
import ezx@1.11.0.0/src/pkg/pkg.bend as K

437# the entry has to be in the checkout for there to be a package to walk
438def outcome.entry(got: Maybe<&2, String>, walk: K.Walked, +world: A.World) -> P.Outcome:
439  match got:
440    case None{}:
441      P.Refused{"ez: " ++ entry(world) ++ " is not in " ++ A.url(world) ++ " at " ++
442        rev(world)}
443    case Some{_text}:
444      outcome.walk(walk, world)

Uses (10)

Used by (1)