(node: &PathNode)
| 80 | } |
| 81 | |
| 82 | fn has_directory_shape(node: &PathNode) -> bool { |
| 83 | node.children |
| 84 | .values() |
| 85 | .any(|child| !child.children.is_empty() || has_directory_shape(child)) |
| 86 | } |
| 87 | |
| 88 | fn render_children(children: &BTreeMap<String, PathNode>, indent: usize, lines: &mut Vec<String>) { |
| 89 | for (segment, child) in children { |
no test coverage detected