class documentation

class IgnoreFilterManager(object):

View In Hierarchy

Ignore file manager.

Class Method from_repo Create a IgnoreFilterManager from a repository.
Method __init__ Undocumented
Method __repr__ Undocumented
Method find_matching Find matching patterns for path.
Method is_ignored Check whether a path is explicitly included or excluded in ignores.
Method _load_path Undocumented
Instance Variable _global_filters Undocumented
Instance Variable _ignorecase Undocumented
Instance Variable _path_filters Undocumented
Instance Variable _top_path Undocumented
@classmethod
def from_repo(cls, repo):

Create a IgnoreFilterManager from a repository.

Parameters
repo:RepoRepository object
Returns
IgnoreFilterManagerA IgnoreFilterManager object
def __init__(self, top_path, global_filters, ignorecase):

Undocumented

Parameters
top_path:strUndocumented
global_filters:List[IgnoreFilter]Undocumented
ignorecase:boolUndocumented
def __repr__(self):

Undocumented

Returns
strUndocumented
def find_matching(self, path):

Find matching patterns for path.

Parameters
path:strPath to check
Returns
Iterable[Pattern]Iterator over Pattern instances
def is_ignored(self, path):

Check whether a path is explicitly included or excluded in ignores.

Parameters
path:strPath to check
Returns
Optional[bool]None if the file is not mentioned, True if it is included, False if it is explicitly excluded.
def _load_path(self, path):

Undocumented

Parameters
path:strUndocumented
Returns
Optional[IgnoreFilter]Undocumented
_global_filters =

Undocumented

_ignorecase =

Undocumented

_path_filters: Dict[str, Optional[IgnoreFilter]] =

Undocumented

_top_path =

Undocumented