pub fn should_force_index( path: &Path, root: &Path, force_patterns: &[Regex], ) -> bool
Check if a path should be force-indexed.