module documentation

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_magic Undocumented
Function iglob Return an iterator which yields the paths matching a pathname pattern.
Variable magic_check Undocumented
Variable magic_check_bytes Undocumented
Function _iglob Undocumented
Function _isrecursive Undocumented
Function _rlistdir Undocumented
def escape(pathname): (source)

Escape all special characters.

def glob(pathname, recursive=False): (source)

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.

def glob0(dirname, basename): (source)

Undocumented

def glob1(dirname, pattern): (source)

Undocumented

def glob2(dirname, pattern): (source)

Undocumented

def has_magic(s): (source)

Undocumented

def iglob(pathname, recursive=False): (source)

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.

magic_check = (source)

Undocumented

magic_check_bytes = (source)

Undocumented

def _iglob(pathname, recursive): (source)

Undocumented

def _isrecursive(pattern): (source)

Undocumented

def _rlistdir(dirname): (source)

Undocumented