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
# Shell-style patterns files/folders that must not be copied._exclude:
- "*.bar"
- ".git"
- ".git/*"
# Shell-style patterns files/folders that *must be* copied, even if# they are in the exclude list_include:
- "foo.bar"
Probably it would be better to just have a single setting exclude but enhance it with a negating syntax that would allow to specify paths to include nonetheless. Maybe we could take gitignores syntax as an inspiration here. A leading ! will make a path non-ignored. See: https://git-scm.com/docs/gitignore#_examples
I have found the following libraries which mplement the kind of pattern matching we are looking for:
@yajo I can implement this.
The package pathspec works like a breeze. :-)
However, it does not yet feature unicode support. Hence files like ñana.txt would never get excluded, because of their special char.
I assume for you, as well as other Spanish speaking users such unicode support is absolutely vital?
EDIT: It seems I can make it work anyway. The unicode issues might stem from somewhere outside pathspec, namely I have messed up the tests because my editor does not properly render those symbols.
The readme states:
Probably it would be better to just have a single setting
exclude
but enhance it with a negating syntax that would allow to specify paths to include nonetheless. Maybe we could take gitignores syntax as an inspiration here. A leading!
will make a path non-ignored. See: https://git-scm.com/docs/gitignore#_examplesI have found the following libraries which mplement the kind of pattern matching we are looking for:
The text was updated successfully, but these errors were encountered: