def edit.toml
import ezx@1.11.0.0/src/lock/up.bend as Upimport Base
1111# ez.toml, only when a pin moved, so an upgrade that changed nothing does not
1112# reformat the file
1113def edit.toml(moved: Bool, +text: String, rest: List<&2, Edit>) -> List<&2, Edit>:
1114 match moved:
1115 case True{}:
1116 Edit{"ez.toml", text} <> rest
1117 case False{}:
1118 rest