def res.joint

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

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

642# the root's ledger and the members', resolved, joined, the members imported
643# by name after the root's own dependencies
644def res.joint(xs: List<&2, Member>, +ns: List<&2, M.Dep>) -> Joint:
645  match xs:
646    case []:
647      Clash{"ez: the workspace root has no ledger"}
648    case Member{_dir, +root} <> ms:
649      combine(with.deps(root, List.append(&2, M.Dep, deps.of(root), ns)), ms)

Uses (8)

Used by (1)