/// <inheritdoc /> public bool Take(string path) { // If Allowlist is empty take everything if (!_allowAny) { return(true); } return(WildcardHelper.IsMatch(path, _allowPatterns)); }
/// <inheritdoc /> public bool Skip(string path) { // If Blocklist is empty don't skip anything if (!_blockAny) { return(false); } return(WildcardHelper.IsMatch(path, _blockPatterns)); }