Name Description Size
__init__.py The *pathspec* package provides pattern matching for file paths. So far this only includes Git's wildmatch pattern matching (the style used for ".gitignore" files). The following classes are imported and made available from the root of the `pathspec` package: - :class:`pathspec.gitignore.GitIgnoreSpec` - :class:`pathspec.pathspec.PathSpec` - :class:`pathspec.pattern.Pattern` - :class:`pathspec.pattern.RegexPattern` - :class:`pathspec.util.RecursionError` The following functions are also imported: - :func:`pathspec.util.lookup_pattern` The following deprecated functions are also imported to maintain backward compatibility: - :func:`pathspec.util.iter_tree` which is an alias for :func:`pathspec.util.iter_tree_files`. - :func:`pathspec.util.match_files` 1630
_meta.py This module contains the project meta-data. 2268
gitignore.py This module provides :class:`.GitIgnoreSpec` which replicates *.gitignore* behavior. 4637
pathspec.py This module provides an object oriented interface for pattern matching of files. 13273
pattern.py This module provides the base definition for patterns. 6270
patterns
py.typed 68
util.py This module provides utility methods for dealing with path-specs. 22680