fn collect_dir_children( workspace: &WorkspaceIndex, file: &str, dir_path: &str, show_kind: bool, ) -> Vec<Entry>