Check if a path should be ignored during tracking. This checks (in order): 1. Internal directories (.atomic, .git) - always ignored 2. `.atomicignore` patterns (if rules provided) 3. Hidden files (if not included) # Arguments `path` - Path to check (relative to repository root) `include_hidden` - Whether to include hidden files (starting with '.') # Example ```rust,ignore use atomic_repositor
(path: &Path, include_hidden: bool)
| 111 | /// assert!(should_ignore(Path::new("target/debug"), true, Some(&rules))); |
| 112 | /// ``` |
| 113 | pub fn should_ignore(path: &Path, include_hidden: bool) -> bool { |
| 114 | should_ignore_with_rules(path, include_hidden, false, None) |
| 115 | } |
| 116 | |
| 117 | /// Check if a path should be ignored during tracking, with optional ignore rules. |
| 118 | /// |
nothing calls this directly
no test coverage detected