Method PathFilter.AddIncludePatterns
Overload
Adds include patterns.
public void AddIncludePatterns(params ReadOnlySpan<string> patterns)
Parameters
|
patterns (ReadOnlySpan<string>)
Zero or more glob paterns. See PathFilter. |
Exceptions
|
ArgumentException
A pattern is empty or contains an empty part or invalid wildcard expression. |
Remarks
It is not possible to re-include a file if a parent directory of that file is excluded (see PathFilter.AddExcludePatterns).
If no include patterns are specified, will be included everything that is not excluded (see PathFilter.AddExcludePatterns).