def joint.root
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
import ezx@1.11.0.0/src/pkg/pkg.bend as K
828# the members joined with the root, once the root's ledger was read
829def joint.root(
830 rd: M.Read,
831 +fs: List<&2, Found>,
832 +dirs: List<&2, List<&2, String>>,
833 +files: List<&2, K.Source>
834) -> Joint:
835 match rd:
836 case M.Bad{why}:
837 Clash{why}
838 case M.Good{root}:
839 joint.read(read.all(fs, dirs), root, files)