def origin

ezx@1.11.0.0 · src/lock/lock.bend:314

import ezx@1.11.0.0/src/lock/lock.bend as Lock
import Base

314# where a package comes from, which is the hub unless an origin says otherwise
315def origin(ds: List<&2, Origin>, +wanted: String) -> Src:
316  match ds:
317    case []:
318      Hub{}
319    case x <> t:
320      origin.at(x, origin(t, wanted), wanted)

Uses (5)

Used by (5)