Lock.text.of: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/lock/lock.bend as Lock Lines 546-552 of ezx@1.11.0.0/src/lock/lock.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/lock/lock.bend&start_line=546&end_line=552 import Base import ezx@1.11.0.0/src/toml/toml.bend as T import ezx@1.11.0.0/src/pkg/pkg.bend as K # the lock's text: the `[lock]` table, each block in the order given, then the # rest, assembled as ez's document text (`T.render`) and written as eztoml # writes it (`T.normal`). Every part of it is fixed by the blocks' order, so # the order the walk found packages in does not reach the file (EZ-DOC-2). def text.of(hub: String, bs: List<&2, K.Item>, rest: List<&2, String>) -> String: T.normal(String.join(T.render.sect(lock.sect(hub)) <> List.append(&2, String, block.texts(bs), rest), "\n")) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.join https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/lock.bend&name=block.texts https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/lock.bend&name=lock.sect https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&name=Item https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/toml/toml.bend&name=normal https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/toml/toml.bend&name=render.sect