Skip to main content

render_handoff_tree

Function render_handoff_tree 

Source
pub fn render_handoff_tree(export: &ExportData, max_depth: usize) -> String
Expand description

Render the handoff intelligence tree.

Behavior:

  • Includes only FileKind::Parent rows.
  • Includes root line and directory nodes only (no file leaves).
  • Emits (files, lines, tokens) for each node.
  • Stops descending at max_depth.
  • Orders siblings lexicographically for deterministic output.