Joint.named.one: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ws/joint.bend as Joint Lines 617-627 of ezx@1.11.0.0/src/ws/joint.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ws/joint.bend&start_line=617&end_line=627 import Base import ezx@1.11.0.0/src/pkg/pkg.bend as K import ezx@1.11.0.0/src/pub/plan.bend as PP # a member imported by name, as a dependency of the joint ledger, in front of # the rest; any other member adds none def named.one(named: PP.Named, mb: Member, +files: List<&2, K.Source>, rest: Deps) -> Deps: match named: case PP.ByHash{}: rest case PP.Unnamed{_why}: rest case PP.ByName{_nv}: Member{+dir, +mm} = mb deps.cons(member.dep(mm, dir, member.name(Member{dir, mm}), files), rest) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&name=Source https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pub/plan.bend&name=Named https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/joint.bend&name=Deps https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/joint.bend&name=Member https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/joint.bend&name=deps.cons https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/joint.bend&name=member.dep https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/joint.bend&name=member.name