Check if a path is inside the .atomic directory.
(&self, path: P)
| 869 | |
| 870 | /// Check if a path is inside the .atomic directory. |
| 871 | pub fn is_internal_path<P: AsRef<Path>>(&self, path: P) -> bool { |
| 872 | path.as_ref().starts_with(&self.dot_dir) |
| 873 | } |
| 874 | } |