PathKit icon indicating copy to clipboard operation
PathKit copied to clipboard

glob method not matching nested subdirectories

Open DJBen opened this issue 1 year ago • 1 comments

Path.glob("/path/**/*.swift") will match

  • path/Sources/aaa.swift

but does not match

  • path/Nested/Sources/aaa.swift

Which is a deviation from the glob definition https://stackoverflow.com/questions/32604656/what-is-the-glob-character

DJBen avatar May 16 '24 18:05 DJBen

I believe it is an inherent limitation https://github.com/realm/SwiftLint/issues/3586#issuecomment-1026861753

DJBen avatar May 16 '24 18:05 DJBen