pub fn collect_selected_paths(
root: &Path,
selected: &[CollectionFrontier],
max_depth: usize,
exclude_patterns: &[Pattern],
) -> CollectedPathspub fn collect_selected_paths(
root: &Path,
selected: &[CollectionFrontier],
max_depth: usize,
exclude_patterns: &[Pattern],
) -> CollectedPaths