Filename globbing utility. Mostly a copy of `glob` from Python 3.5. Changes include: * `yield from` and PEP3102 `*` removed. * Hidden files are not ignored.
Function | escape |
Escape all special characters. |
Function | glob |
Return a list of paths matching a pathname pattern. |
Function | glob0 |
Undocumented |
Function | glob1 |
Undocumented |
Function | glob2 |
Undocumented |
Function | has |
Undocumented |
Function | iglob |
Return an iterator which yields the paths matching a pathname pattern. |
Variable | magic |
Undocumented |
Variable | magic |
Undocumented |
Function | _iglob |
Undocumented |
Function | _isrecursive |
Undocumented |
Function | _rlistdir |
Undocumented |
Return a list of paths matching a pathname pattern. The pattern may contain simple shell-style wildcards a la fnmatch. However, unlike fnmatch, filenames starting with a dot are special cases that are not matched by '*' and '?' patterns. If recursive is true, the pattern '**' will match any files and zero or more directories and subdirectories.
Return an iterator which yields the paths matching a pathname pattern. The pattern may contain simple shell-style wildcards a la fnmatch. However, unlike fnmatch, filenames starting with a dot are special cases that are not matched by '*' and '?' patterns. If recursive is true, the pattern '**' will match any files and zero or more directories and subdirectories.