fn has_excluded_suffix_component( path: &str, suffixes: &BTreeSet<String>, ) -> bool
Return whether any path component has an excluded suffix.