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