public static bool IsIncluded(string file, Glob[] globs) { return(globs.Length == 0 || GlobMatcher.IsMatch(file, globs)); }
public static bool IsExcluded(string file, Glob[] globs) { return(globs.Length != 0 && GlobMatcher.IsMatch(file, globs)); }