Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileFilterExclude / FileFilterInclude #24

Open
weggetor opened this issue Jul 26, 2018 · 0 comments
Open

FileFilterExclude / FileFilterInclude #24

weggetor opened this issue Jul 26, 2018 · 0 comments

Comments

@weggetor
Copy link

Hi folks,

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!

FileFilter.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant