pub fn build_gitignore(root: &Path) -> Option<Gitignore>
Build a Gitignore matcher from a project root.
Gitignore
Reads .gitignore if present, and also adds the hardcoded IGNORE_DIRS as fallback patterns.
.gitignore
IGNORE_DIRS