def pin.at

ezx@1.11.0.0 · src/ws/joint.bend:253

import ezx@1.11.0.0/src/ws/joint.bend as Joint
import Base
import ezx@1.11.0.0/src/ledger/manifest.bend as M

253# the pin a source is recorded at, once it is known whether it is the url
254def pin.at(hit: Bool, src: M.Source, rest: M.Source) -> M.Source:
255  match hit:
256    case True{}:
257      src
258    case False{}:
259      rest

Uses (2)

Used by (1)