Support for loading, parsing and matching paths against the rules in a
This create has been specifically crafted to have no dependencies on Git itself - all you need is a directory with a ``.gitignore` file in it, and a path you want to check is excluded by some rule in the file.
All of the patterns described in the man page for the .gitignore format,
(specifically, in the "Pattern Format" section)
are implemented. This crate currently does not support auto-loading patterns from
$GIT_DIR/info/exclude or from the file specified by the Git configuration variable
core.excludesFile (the user excludes file); rather, it will only load patterns specified in
.gitignore file in the given directory.