pub fn collect_paths_with_limits<P: AsRef<Path>>(
root: P,
max_depth: usize,
exclude_patterns: &[Pattern],
limits: &CollectionLimits,
) -> CollectedPathspub fn collect_paths_with_limits<P: AsRef<Path>>(
root: P,
max_depth: usize,
exclude_patterns: &[Pattern],
limits: &CollectionLimits,
) -> CollectedPaths