Skip to main content

split_patterns

Function split_patterns 

Source
pub fn split_patterns<'glob, I, V>(
    patterns: I,
) -> (Vec<&'glob str>, Vec<&'glob str>)
where I: IntoIterator<Item = &'glob V> + Debug, V: AsRef<str> + 'glob + ?Sized,
Expand description

Split a list of glob patterns into separate non-negated and negated patterns. Negated patterns must start with !.