Up.plan: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ws/up.bend as Up Lines 390-401 of ezx@1.11.0.0/src/ws/up.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ws/up.bend&start_line=390&end_line=401 import Base import ezx@1.11.0.0/src/lock/world.bend as LW import ezx@1.11.0.0/src/lock/plan.bend as LP # what `ez lock` runs: for a project of its own, the plan the lock planner # makes; at a workspace root, the plan it makes on the joint ledger, with, # under `--upgrade`, every moved member's import lines rewritten and every # ledger the upgrade changed written back in place of the joint one. A plain # lock writes no ledger, so its plan is as it was, unless a line names a # moved member's old hash, which it refuses. def plan(back: Back, +world: LW.World) -> LP.Plan: match back: case Alone{}: LP.plan(world) case Back{+text, +spec, +fs, +lock}: plan.at(LW.args.upgrade(world), Back{text, spec, fs, lock}, world) Uses (6): 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/lock/plan.bend&name=plan https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/world.bend&name=World https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/world.bend&name=args.upgrade 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/up.bend&name=plan.at