PathKit
PathKit copied to clipboard
Support recursive glob '**'
It'd be awesome if you could support a recursive glob, e.g /some/path/**/*.swift
which would match arbitrary nesting.
Thanks for PathKit, love it 🤘🏼
The underlying system glob(3)
doesn't support any recursive glob so this would have to be implemented entirely in PathKit. You might be better expressing your glob using recursiveChildren.filter { $0.extension == "swift" }
or similar.
However, If you'd like to have recursive option for glob please file a pull request including test cases.