| 157 | } |
| 158 | |
| 159 | std::string OHDFilesystemUtil::read_file(const std::string &filename) { |
| 160 | const auto content = opt_read_file(filename); |
| 161 | if (!content.has_value()) return ""; |
| 162 | return content.value(); |
| 163 | } |
| 164 | |
| 165 | void OHDFilesystemUtil::remove_if_existing(const std::string &filename) { |
| 166 | if (exists(filename)) { |
nothing calls this directly
no outgoing calls
no test coverage detected