filepathx
filepathx copied to clipboard
Add double-star support to path/filepath
Single star into double star did not work as expected. Pattern `a/b/*/e.f/**` would not match `a/b/c/e.f/g` since the top level glob would be performed on a path ending with a...
I added support for Glob with ** but for fs.FS.
Hey Wanted to make a small PR to support patterns like `**/*.ts` or any extension which was previously not working. It is a very simple fix by just checking if...
Used the pattern below: matches, err := filepathx.Glob(casename + "/**/*.png") It works just fine but I recently encountered the error "panic: syntax error in pattern" while globing a directory. Please...