pyufunc.load_gitignore_patterns#

pyufunc.load_gitignore_patterns(gitignore_path)#

Load a gitignore-style file into a pathspec matcher.

Parameters:

gitignore_path – Path to a gitignore-style pattern file.

Note

Example

>>> spec = load_gitignore_patterns(".gitignore")
Returns:

A pathspec.PathSpec instance.

Return type:

Any