def render.names

ezx@1.11.0.0 · src/lock/lock.bend:615

import ezx@1.11.0.0/src/lock/lock.bend as Lock
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

615# the lock with its names and then its tools after the packages
616def render.names(ns: List<&2, Name>, ts: List<&2, M.Tool>, hub: String, ps: List<&2, Pack>) -> String:
617  text.of(hub, K.file.sort(pack.blocks(ps)),
618    T.render.all(List.append(&2, T.Sect, names.sects(ns), tool.sects(ts))))

Uses (13)

Used by (1)