| 358 | } |
| 359 | |
| 360 | Status FileState::DropUnsyncedData() const { |
| 361 | int64_t sync_pos = pos_at_last_sync_ == -1 ? 0 : pos_at_last_sync_; |
| 362 | return Truncate(filename_, sync_pos); |
| 363 | } |
| 364 | |
| 365 | class FaultInjectionTest { |
| 366 | public: |
no test coverage detected