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
Exclude patterns for folders / directories can be puzzling at first.
The following examples show how to exclude folders in Vykar, for the most common cases.
You can cherry-pick rules from the list and adapt them to your liking.
exclude_patterns:
### Examples for excluding folders ### ## a) Include the folder but exclude its content (and all subfolders):
- '/testfolder/*'# exclude content, matches only first level - by explicit path
- '*/testfolder/*'# exclude content, matches only second level
- '*/*/testfolder/*'# exclude content, matches only third level
- '/test1/testfolder/*'# exclude content, matches by explicit path
- '/**/testfolder/*'# exclude content, matches everywhere
- 'test1/**/testfolder/*'# exclude content, matches everywhere - if "test1" is further up the path
- 'testfolder/*'# exclude content, matches only first level EXCEPTION! ## b) Exclude folders entirely:
- '/testfolder/'# exclude folder, matches only first level - by explicit path
- '*/testfolder/'# exclude folders, matches only second level
- '*/*/testfolder/'# exclude folders, matches only third level
- '/test1/testfolder/'# exclude folder, matches by explicit path
- '/**/testfolder/'# exclude folders, matches everywhere
- 'test1/**/testfolder/'# exclude folders, matches everywhere - if "test1" is further up the path
- 'testfolder/'# exclude folders, matches everywhere EXCEPTION! ## Attention if there is no trailing "/":
- '**test'# exclude folders AND files matches everywhere
Note that for the most part the exclude_patterns: for folders are "as expected".
However, there is one exception to this rule, that I have commented accordingly.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Exclude patterns for
folders/ directories can be puzzling at first.The following examples show how to exclude folders in Vykar, for the most common cases.
You can cherry-pick rules from the list and adapt them to your liking.
Note that for the most part the
exclude_patterns:for folders are "as expected".However, there is one exception to this rule, that I have commented accordingly.
Hope this is helpful.
Beta Was this translation helpful? Give feedback.
All reactions