Skip to main content

Module git

Module git 

Source
Expand description

Git’s ignore rules for a work tree, read without running git.

GitIgnores collects the .gitignore files Git would read, plus each repository’s info/exclude and core.excludesFile, and answers whether Git ignores a path. Files below an ignored directory stay ignored, as in Git. Matching follows the patterns only: tracked files and core.ignoreCase are not consulted.

Structs§

GitIgnores
The ignore rules of the Git work tree that contains a workspace.