Skip to main content

respect_gitignore

Function respect_gitignore 

Source
pub fn respect_gitignore(preferences: Option<&Value>) -> bool
Expand description

Whether a walk honours gitignore, from the CLI’s per-user preferences document: its respectGitignore key, absent or not a boolean reading as true, which is the CLI’s own default. Every view reads the key here, so none can drift on how it is read.