def pins.clash.go

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

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

300# the first git source pinned two ways, "" for none
301def pins.clash.go(ds: List<&2, M.Dep>, +all: List<&2, M.Dep>) -> String:
302  match ds:
303    case []:
304      ""
305    case M.Dep{_n, _h, _e, +src} <> tl:
306      rest = pins.clash.go(tl, all)
307      Bool.pick(String, pin.same(src, pin.of(all, M.source.url(src))), rest, M.source.url(src))

Uses (7)

Used by (1)