Check if a path is inside the .atomic directory.
(&self, path: P)
| 729 | |
| 730 | /// Check if a path is inside the .atomic directory. |
| 731 | pub fn is_internal_path<P: AsRef<Path>>(&self, path: P) -> bool { |
| 732 | path.as_ref().starts_with(&self.dot_dir) |
| 733 | } |
| 734 | } |