MCPcopy Create free account
hub / github.com/adny-code/fastgrind / _render_stack_tree_text

Method _render_stack_tree_text

tools/fastgrind.py:1422–1425  ·  view source on GitHub ↗
(self, node: dict[str, Any], depth: int, lines: list[str])

Source from the content-addressed store, hash-verified

1420 return "\n".join(lines)
1421
1422 def _render_stack_tree_text(self, node: dict[str, Any], depth: int, lines: list[str]) -> None:
1423 for child in node.get("children", []):
1424 lines.append(f"{' ' * depth}- {_stack_node_name(child)} {_format_stack_summary(child)}")
1425 self._render_stack_tree_text(child, depth + 1, lines)
1426
1427 def _compatibility_json_data(self) -> dict[str, Any]:
1428 result: dict[str, Any] = {}

Callers 1

_stack_tree_to_textMethod · 0.95

Calls 2

_stack_node_nameFunction · 0.85
_format_stack_summaryFunction · 0.85

Tested by

no test coverage detected