pub fn handle(path: &str, depth: usize, show_hidden: bool) -> (String, usize)
Generates a compact directory tree listing with file counts, respecting gitignore.