Closed fr1ll closed 1 year ago
I ran into one issue with Path.glob -- relative paths are not supported.
Python's glob.glob
has supported recursive expansion since Python 3.5, however.
I've changed references to glob2 to use glob.glob instead in commit c6e4d04f23acaf0001491e216d8793041af7f6e8
The main feature of glob2 is that it supports recurvsive
**
wildcard expansion.glob.glob
supports this now withrecursive=True
option.Path.glob
supports recursive expansion by default.glob2
also hasn't been updated since 2019.Let's replace
glob2
withPath.glob
to remove an unnecessary dependency and to push us more to usePath
objects which make other things more convenient.