| 48 | const size_t offset) = 0; |
| 49 | |
| 50 | virtual void DeleteFile() { |
| 51 | is_deleted_ = true; |
| 52 | if (fs_.is_open()) { |
| 53 | fs_.close(); |
| 54 | } |
| 55 | close(fd_); |
| 56 | std::remove(filepath_.c_str()); |
| 57 | } |
| 58 | |
| 59 | void LoadExistFile(const std::string& old_file_path, |
| 60 | size_t count, size_t invalid_count) { |
no test coverage detected