def pin.at
import ezx@1.11.0.0/src/ws/joint.bend as Jointimport 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