| 179 | } |
| 180 | |
| 181 | void write(const std::string & data) |
| 182 | { |
| 183 | if (fd == -1) |
| 184 | throw std::runtime_error(fmt::format("Cannot write to uninitialized file {}", path)); |
| 185 | |
| 186 | writeRetry(fd, data); |
| 187 | } |
| 188 | |
| 189 | void unlink() |
| 190 | { |
no test coverage detected