I need to build a file walker from a set of glob patterns, but I prefer not to build it myself, so I would appreciate if there is already one that satisfies the following requirements:
- Deterministic filename order, regardless of environment, OS, etc.
- Do not walk into ignored directories, for example:
foo/**will never match any file in
bar/, so it shouldn't walk into
!**/foowill never match any file in
foo/, so it shouldn' walk into