Relock.ledgers: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ws/relock.bend as Relock Lines 216-220 of ezx@1.11.0.0/src/ws/relock.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ws/relock.bend&start_line=216&end_line=220 import Base import ezx@1.11.0.0/src/lock/plan.bend as LP import ezx@1.11.0.0/src/relock/relock.bend as R # the ledgers the command leaves, when its own plan, as the workspace runs it, # is `pl` and its ledger held `was` before def ledgers(root: Rooted, pl: LP.Plan, was: Maybe<&2, String>) -> Ledgers: Rooted{_at, rel, +text, fs, _listing, _lock} = root ledgers.at(rel, new.of(R.ledger(pl, was)), text, fs) Uses (8): 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/lock/plan.bend&name=Plan https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/relock/relock.bend&name=ledger https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/relock.bend&name=Ledgers https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/relock.bend&name=Rooted https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/relock.bend&name=ledgers.at https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/relock.bend&name=new.of