1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Default / --compact rendering for `refs`/`impact`. This module owns
// `render_refs_text`/`render_impact_text` (default), `render_refs_compact`/
// `render_impact_compact` (`--compact`), and their shared helpers
// (`ref_kind_block`/`compact_block`/`rle`/`group_by_file`). Analytics/dev output
// (triage/analyze/report) is out of scope here.
//
// `--json` output is NOT built here -- it lives in cli.rs alongside the rest of
// the CLI-level `--json` flag handling, matching the module split.
//
// Rendering notes (`ref_kind_block`/`compact_block`):
//
// - `ref_kind_block` (default renderer) prints its header line whenever the
// table itself is present, EVEN IF `total == 0` -- only a genuinely
// missing/undefined table suppresses the header entirely. `compact_block`
// additionally suppresses on `total == 0` (empty tables print nothing in
// `--compact`, not even a header). This asymmetry is real and preserved:
// see `ref_kind_block_present_but_empty_table_still_prints_header` below.
// - "Missing table" tolerance (the `Option<&Table<R>>` parameter): query.rs's
// typed `RefsModel`/`ImpactModel` always supply a concrete (possibly
// zero-total) `Table` for every kind, so the `None` branch is unreachable from
// a real model. It is kept because the block helpers are tested directly with
// an absent table to exercise exactly this path; it is not reachable through
// the public render_* functions.
pub use ;
pub use ;
pub use seed_kind_str;
pub use ;
pub use ;