Load ignore rules for this repository. This loads patterns from: - Global config: `~/.config/atomic/ignore` - Repository-local: `.atomicignore` in repository root The returned [`IgnoreRules`] can be used to check if paths should be ignored during tracking or status operations. # Example ```rust,ignore let repo = Repository::open(".")?; let rules = repo.ignore_rules(); if rules.is_ignored(Path
(&self)
| 34 | /// } |
| 35 | /// ``` |
| 36 | pub fn ignore_rules(&self) -> IgnoreRules { |
| 37 | IgnoreRules::load(&self.root) |
| 38 | } |
| 39 | |
| 40 | /// Check if a path should be ignored. |
| 41 | /// |
no outgoing calls