def ledgers

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

import ezx@1.11.0.0/src/ws/joint.bend as Joint
import Base
import ezx@1.11.0.0/src/ws/workspace.bend as W

773# every ledger git lists under the root, read for the member set
774def ledgers(fs: List<&2, Found>) -> List<&2, W.Ledger>:
775  match fs:
776    case []:
777      []
778    case Found{+pp, +tt} <> tl:
779      ledgers.put(W.ledger.of(pp, tt), ledgers(tl))

Uses (5)

Used by (3)