Joint.source.at: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ws/joint.bend as Joint Lines 51-60 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=51&end_line=60 import Base import ezx@1.11.0.0/src/ledger/manifest.bend as M import ezx@1.11.0.0/src/pkg/path.bend as P # a source read from a member's directory: a relative path joined to it, and # a URL or an absolute path as it is (`P.anchor`, EZ-LED-8) def source.at(+dir: String, src: M.Source) -> M.Source: match src: case M.Hub{nv}: M.Hub{nv} case M.Git{url, rev, tag, root, nar, vend}: M.Git{P.anchor(dir, url), rev, tag, root, nar, vend} case M.Member{path, named}: M.Member{path, named} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&name=Source https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/path.bend&name=anchor