Check if a path is inside the .atomic directory.
(&self, path: P)
| 646 | |
| 647 | /// Check if a path is inside the .atomic directory. |
| 648 | pub fn is_internal_path<P: AsRef<Path>>(&self, path: P) -> bool { |
| 649 | path.as_ref().starts_with(&self.dot_dir) |
| 650 | } |
| 651 | } |