Check if a path is inside the .atomic directory.
(&self, path: P)
| 808 | |
| 809 | /// Check if a path is inside the .atomic directory. |
| 810 | pub fn is_internal_path<P: AsRef<Path>>(&self, path: P) -> bool { |
| 811 | path.as_ref().starts_with(&self.dot_dir) |
| 812 | } |
| 813 | } |