You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I needed a functionality to filter a set of files (FilePathCollection) given by an array of wildcard path strings, e.g:
string[] filter= new string[] {
@"**/*.gif",
@"**/*.jpg",
@"**/*.png"
};
Specifically I needed the possibility to get all the files that match the filter criteria (IncludeFiles) and on the opposite to get all the files that do NOT match the filter criteria (ExcludeFiles).
Unfortunately I'm not familiar with pull requests - but if any one is interested feel free to include the attached methods in this library!
Hi folks,
I needed a functionality to filter a set of files (FilePathCollection) given by an array of wildcard path strings, e.g:
Specifically I needed the possibility to get all the files that match the filter criteria (IncludeFiles) and on the opposite to get all the files that do NOT match the filter criteria (ExcludeFiles).
Unfortunately I'm not familiar with pull requests - but if any one is interested feel free to include the attached methods in this library!
FileFilter.txt
The text was updated successfully, but these errors were encountered: