MCPcopy Create free account
hub / github.com/crosspoint-reader/crosspoint-reader / hasJpgExtension

Function hasJpgExtension

lib/FsHelpers/FsHelpers.cpp:148–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148bool hasJpgExtension(std::string_view fileName) {
149 return checkFileExtension(fileName, ".jpg") || checkFileExtension(fileName, ".jpeg");
150}
151
152bool hasPngExtension(std::string_view fileName) { return checkFileExtension(fileName, ".png"); }
153

Callers

nothing calls this directly

Calls 1

checkFileExtensionFunction · 0.70

Tested by

no test coverage detected