match_any

Function match_any 

Source
pub fn match_any(path: &str, patterns: &[&str]) -> bool
Expand description

Check if path matches any pattern in the list 检查路径是否匹配列表中的任意模式