(&self, path: &Path)
| 76 | } |
| 77 | |
| 78 | fn create_dir(&self, path: &Path) -> virtual_fs::Result<()> { |
| 79 | let path = self.prepare_path(path)?; |
| 80 | if path.parent().is_none() { |
| 81 | return Err(FsError::BaseNotDirectory); |
| 82 | } |
| 83 | fs::create_dir(path).map_err(FsError::from) |
| 84 | } |
| 85 | |
| 86 | fn remove_dir(&self, path: &Path) -> virtual_fs::Result<()> { |
| 87 | let path = self.prepare_path(path)?; |
nothing calls this directly
no test coverage detected