Added accepted directories to accept all recursive directories within "src".
What's changed?
Previously it only checked whether the path contains one of the DEFAULT_IGNORED_DIRECTORIES.
Now it checks whether the path also contains one of the DEFAULT_ACCEPTED_DIRECTORIES.
Now "src" will return false almost instantly and will not return true although there could be a build or out folder within the "src" folder.
What's your motivation?
Motivation was the open Issue #850. This is a fix to this issue and maybe a feature to be considered.
Added accepted directories to accept all recursive directories within "src".
What's changed?
Previously it only checked whether the path contains one of the DEFAULT_IGNORED_DIRECTORIES. Now it checks whether the path also contains one of the DEFAULT_ACCEPTED_DIRECTORIES. Now "src" will return false almost instantly and will not return true although there could be a build or out folder within the "src" folder.
What's your motivation?
Motivation was the open Issue #850. This is a fix to this issue and maybe a feature to be considered.