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

Function hasMarkdownExtension

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

Source from the content-addressed store, hash-verified

164bool hasTxtExtension(std::string_view fileName) { return checkFileExtension(fileName, ".txt"); }
165
166bool hasMarkdownExtension(std::string_view fileName) { return checkFileExtension(fileName, ".md"); }
167
168bool hasCssExtension(std::string_view fileName) { return checkFileExtension(fileName, ".css"); }
169

Callers 4

getDataFromBookMethod · 0.85
getFileIconMethod · 0.85
isTxtFileMethod · 0.85
loadFilesMethod · 0.85

Calls 1

checkFileExtensionFunction · 0.70

Tested by

no test coverage detected