[][src]Module ignore::gitignore

The gitignore module provides a way to match globs from a gitignore file against file paths.

Note that this module implements the specification as described in the gitignore man page from scratch. That is, this module does not shell out to the git command line tool.

Structs

Gitignore

Gitignore is a matcher for the globs in one or more gitignore files in the same directory.

GitignoreBuilder

Builds a matcher for a single set of globs from a .gitignore file.

Glob

Glob represents a single glob in a gitignore file.