Skip to main content

should_skip_entry

Function should_skip_entry 

Source
pub fn should_skip_entry(name: &str, ignore_patterns: &[String]) -> bool
Expand description

Should this entry name be skipped at scan or handler-recursion time?

Combines the three always-on filters: dodot’s own files (SPECIAL_FILES) and the pack’s ignore glob patterns. Hidden files are NOT filtered here — the caller decides whether to skip dotfiles (the scanner does, for the top-level walk; the symlink handler’s per-file fallback does not, since the user opted in).