| 201 | } |
| 202 | |
| 203 | std::optional<int> OHDFilesystemUtil::read_int_from_file( |
| 204 | const std::string &filename) { |
| 205 | auto content = opt_read_file(filename); |
| 206 | if (!content.has_value()) { |
| 207 | return std::nullopt; |
| 208 | } |
| 209 | return OHDUtil::string_to_int(content.value()); |
| 210 | } |
nothing calls this directly
no outgoing calls
no test coverage detected