Up.root.text: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ws/up.bend as Up Lines 139-143 of ezx@1.11.0.0/src/ws/up.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ws/up.bend&start_line=139&end_line=143 import Base import ezx@1.11.0.0/src/ledger/manifest.bend as M import ezx@1.11.0.0/src/ledger/render.bend as Rend import ezx@1.11.0.0/src/toml/toml.bend as T import ezx@1.11.0.0/src/ws/workspace.bend as W # the root's ledger as a file: its package table when it has one, which a # virtual root does not, its dependencies and tools, and its `[workspace]` def root.text(+mm: M.Manifest, +spec: W.Spec, +root: W.Root) -> String: +body = Rend.text(mm) T.normal(Bool.pick(String, W.root.member(root), body, String.drop(body, 10n)) ++ spec.text(spec)) Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.drop https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&name=Manifest https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/render.bend&name=text 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/ws/up.bend&name=spec.text https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/workspace.bend&name=Root https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/workspace.bend&name=Spec https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/workspace.bend&name=root.member