Check if a path is inside the .atomic directory.
(&self, path: P)
| 1447 | |
| 1448 | /// Check if a path is inside the .atomic directory. |
| 1449 | pub fn is_internal_path<P: AsRef<Path>>(&self, path: P) -> bool { |
| 1450 | path.as_ref().starts_with(&self.dot_dir) |
| 1451 | } |
| 1452 | } |