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

Function hasTxtExtension

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

Source from the content-addressed store, hash-verified

162}
163
164bool hasTxtExtension(std::string_view fileName) { return checkFileExtension(fileName, ".txt"); }
165
166bool hasMarkdownExtension(std::string_view fileName) { return checkFileExtension(fileName, ".md"); }
167

Callers

nothing calls this directly

Calls 1

checkFileExtensionFunction · 0.70

Tested by

no test coverage detected