Skip to main content

Module render

Module render 

Source
Expand description

Text rendering for query results.

Functions§

render_impact_compact
--compact impact rendering.
render_impact_text
Default (non-compact) impact rendering.
render_read_compact
--compact read rendering: the span on the def line, no source block,
render_read_text
Default (non-compact) read rendering: the declaration span and its
render_refs_compact
--compact refs rendering.
render_refs_text
Renders a reference-query model as human-readable text.
render_tests_compact
--compact devscout tests output. The same model with the def ids and the per-file indentation dropped: one header line carrying every count, then one line per file. The h line marker is the compact renderer’s existing convention for a guess.
render_tests_text
Default devscout tests output. The zero case is a first-class answer, not an empty table: “nothing tests this” is exactly what the caller asked, and it is one line rather than a header over a void.
seed_kind_str
The impact seed kind as a string ("file"/"symbol"), used in the impact renderers’ header line and in cli.rs’s --json and error messages.