Run.ledger: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ws/run.bend as Run Lines 208-216 of ezx@1.11.0.0/src/ws/run.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ws/run.bend&start_line=208&end_line=216 import Base import ezx@1.11.0.0/src/ws/workspace.bend as W import ezx@1.11.0.0/src/ws/up.bend as U import ezx@1.11.0.0/src/pkg/pkg.bend as K # the ledger `ez lock` is planned from: ez.toml as it is, or, at a workspace # root, the joint ledger of the root and every member. `files` are the # committed `.bend` files, which a member's package is walked over. def ledger(led: Maybe<&2, String>, +files: List<&2, K.Source>) -> IO(Planned): match led: case None{}: IO.pure(Planned, Planned{None{}, U.Alone{}, []}) case Some{+text}: joint.read(W.spec.of(text), text, files) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe 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/pkg/pkg.bend&name=Source https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/run.bend&name=Planned https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/run.bend&name=joint.read https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/up.bend&name=Back https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/workspace.bend&name=spec.of