fn collect_entries( workspace: &WorkspaceIndex, root: &Path, lines: &mut Vec<String>, depth: usize, max_depth: usize, )