Relock.keep.write: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ws/relock.bend as Relock Lines 128-134 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=128&end_line=134 import Base import ezx@1.11.0.0/src/lock/plan.bend as LP # a file the command writes, once it is known whether it is the ledger def keep.write(hit: Bool, +old: String, +path: String, +text: String) -> LP.Effect: match hit: case True{}: LP.Write{path, keep(old, text)} case False{}: LP.Write{path, text} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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=Effect https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/relock.bend&name=keep