def doc
import ezx@1.11.0.0/src/lock/lock.bend as Lockimport Base
import ezx@1.11.0.0/src/toml/toml.bend as T
514# the lock as a document: what resolved it, then every package it resolved,
515# in hash order. `render` writes its text a block at a time; that the two
516# agree is lock/LAWS.bend's `render_is_doc`.
517def doc(hub: String, ps: List<&2, Pack>) -> List<&2, T.Sect>:
518 List.append(&2, T.Sect, [lock.sect(hub)], pack.all(pack.sort(ps)))
Uses (8)
Used by (0)
No other definition uses this definition.