| 183 | |
| 184 | |
| 185 | void write_file(std::string path, std::string data) { |
| 186 | std::ofstream file(path); |
| 187 | if (!file.is_open()) { |
| 188 | std::cerr << "Could not open file: " << path << std::endl; |
| 189 | return; |
| 190 | } |
| 191 | file << data; |
| 192 | file.close(); |
| 193 | } |
| 194 | |
| 195 | |
| 196 | std::string get_time_for_file() { |
no test coverage detected