| 195 | } |
| 196 | |
| 197 | void deleteFile(const Path& path) override |
| 198 | { |
| 199 | AdfMount m(this); |
| 200 | if (path.size() == 0) |
| 201 | throw BadPathException(); |
| 202 | |
| 203 | auto* vol = m.mount(); |
| 204 | changeDirButOne(vol, path); |
| 205 | |
| 206 | int res = |
| 207 | adfRemoveEntry(vol, vol->curDirPtr, (char*)path.back().c_str()); |
| 208 | if (res != RC_OK) |
| 209 | throw CannotWriteException(); |
| 210 | } |
| 211 | |
| 212 | void moveFile(const Path& oldPath, const Path& newPath) override |
| 213 | { |
nothing calls this directly
no test coverage detected