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

Function hasEpubExtension

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

Source from the content-addressed store, hash-verified

156bool hasGifExtension(std::string_view fileName) { return checkFileExtension(fileName, ".gif"); }
157
158bool hasEpubExtension(std::string_view fileName) { return checkFileExtension(fileName, ".epub"); }
159
160bool hasXtcExtension(std::string_view fileName) {
161 return checkFileExtension(fileName, ".xtc") || checkFileExtension(fileName, ".xtch");

Callers

nothing calls this directly

Calls 1

checkFileExtensionFunction · 0.70

Tested by

no test coverage detected