(&self, path: &Path)
| 138 | } |
| 139 | |
| 140 | fn remove_file(&self, path: &Path) -> virtual_fs::Result<()> { |
| 141 | let path = self.prepare_path(path)?; |
| 142 | if path.parent().is_none() { |
| 143 | return Err(FsError::BaseNotDirectory); |
| 144 | } |
| 145 | fs::remove_file(path).map_err(FsError::from) |
| 146 | } |
| 147 | |
| 148 | fn new_open_options(&self) -> OpenOptions<'_> { |
| 149 | OpenOptions::new(self) |
nothing calls this directly
no test coverage detected