def joint.root

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

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
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)

Uses (8)

Used by (1)