| 91 | }; |
| 92 | |
| 93 | const TextBatchFileFormat * text_batch_format_for(const std::filesystem::path & path) { |
| 94 | const auto ext = lowercase_extension(path); |
| 95 | for (const auto & format : kTextBatchFileFormats) { |
| 96 | if (ext == format.extension) { |
| 97 | return &format; |
| 98 | } |
| 99 | } |
| 100 | return nullptr; |
| 101 | } |
| 102 | |
| 103 | std::string supported_text_batch_extensions() { |
| 104 | std::ostringstream out; |
no test coverage detected