| 835 | } |
| 836 | |
| 837 | FileWriter(FileWriter&& other) |
| 838 | : fd_(other.fd_), |
| 839 | declared_length_(other.declared_length_), |
| 840 | total_bytes_written_(other.total_bytes_written_) { |
| 841 | other.fd_ = -1; |
| 842 | } |
| 843 | |
| 844 | bool IsValid() const { return fd_ != -1; } |
| 845 |
nothing calls this directly
no outgoing calls
no test coverage detected