pub fn handle(
path: &str,
depth: usize,
show_hidden: bool,
respect_gitignore: bool,
) -> (String, usize)Expand description
Generates a compact directory tree listing with file counts.
When respect_gitignore is true, entries matching .gitignore patterns are excluded.