MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / render_path_tree

Function render_path_tree

src/path_tree.rs:65–69  ·  view source on GitHub ↗
(root: &PathNode)

Source from the content-addressed store, hash-verified

63}
64
65fn render_path_tree(root: &PathNode) -> String {
66 let mut lines = Vec::new();
67 render_children(&root.children, 0, &mut lines);
68 lines.join("\n")
69}
70
71fn prefix_lines(text: &str, prefix: &str) -> String {
72 if prefix.is_empty() {

Callers 1

Calls 1

render_childrenFunction · 0.85

Tested by

no test coverage detected