Lock.render.tools: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/lock/lock.bend as Lock Lines 584-587 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=584&end_line=587 import Base import ezx@1.11.0.0/src/toml/toml.bend as T import ezx@1.11.0.0/src/ledger/manifest.bend as M import ezx@1.11.0.0/src/pkg/pkg.bend as K # the lock with its tools after the packages. An empty tool list adds no # table, so a ledger with no tools writes the lock `render` writes. def render.tools(ts: List<&2, M.Tool>, hub: String, ps: List<&2, Pack>) -> String: text.of(hub, K.file.sort(pack.blocks(ps)), T.render.all(tool.sects(ts))) 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=String https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&name=Tool https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/lock.bend&name=Pack https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/lock.bend&name=pack.blocks https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/lock.bend&name=text.of https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/lock.bend&name=tool.sects https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&name=file.sort https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/toml/toml.bend&name=render.all