| 146 | } |
| 147 | |
| 148 | bool hasJpgExtension(std::string_view fileName) { |
| 149 | return checkFileExtension(fileName, ".jpg") || checkFileExtension(fileName, ".jpeg"); |
| 150 | } |
| 151 | |
| 152 | bool hasPngExtension(std::string_view fileName) { return checkFileExtension(fileName, ".png"); } |
| 153 |
nothing calls this directly
no test coverage detected