| 186 | } |
| 187 | |
| 188 | void EndFile() { |
| 189 | if(this->HasStartedFile()) { |
| 190 | this->EndFileImpl(this->started_file_mode); |
| 191 | this->started_file_mode = FileMode::None; |
| 192 | } |
| 193 | } |
| 194 | |
| 195 | virtual u64 ReadFile(const std::string &path, u64 offset, u64 size, void *read_buf) = 0; |
| 196 | virtual u64 WriteFile(const std::string &path, const void *write_buf, u64 size) = 0; |
no test coverage detected