Reload ignore rules from disk. This is useful if the ignore files have changed.
(&mut self)
| 262 | /// |
| 263 | /// This is useful if the ignore files have changed. |
| 264 | pub fn reload(&mut self) { |
| 265 | self.global = load_global_ignore(); |
| 266 | self.local = load_local_ignore(&self.repo_root); |
| 267 | } |
| 268 | |
| 269 | /// Get the number of patterns in local rules. |
| 270 | /// |