Skip to main content

build_gitignore

Function build_gitignore 

Source
pub fn build_gitignore(root: &Path) -> Option<Gitignore>
Expand description

Build a Gitignore matcher from a project root.

Reads .gitignore if present, and also adds the hardcoded IGNORE_DIRS as fallback patterns.