Relock.lock.read: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ws/relock.bend as Relock Lines 257-273 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=257&end_line=273 import Base import ezx@1.11.0.0/src/lock/world.bend as LW import ezx@1.11.0.0/src/ws/workspace.bend as W import ezx@1.11.0.0/src/ws/joint.bend as J import ezx@1.11.0.0/src/ws/up.bend as U # the lock, once the root's ledger is read def lock.read( rd: W.Read, +at: String, +text: String, +fs: List<&2, J.Found>, +listing: LW.Listing, +lock: String, rs: List<&2, LW.Reply> ) -> Lock: match rd: case W.Lone{}: Lock{U.Alone{}, world(at, Some{text}, listing, rs)} case W.Bad{why}: Stop{why} case W.Root{+spec}: lock.joint(J.joint(text, fs, J.files(listing)), at, text, spec, fs, listing, lock, rs) Uses (13): 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/lock/world.bend&name=Listing https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/world.bend&name=Reply https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/joint.bend&name=Found https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/joint.bend&name=files https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/joint.bend&name=joint https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/relock.bend&name=Lock https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/relock.bend&name=lock.joint https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/relock.bend&name=world 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=Read