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

Function hasCssExtension

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

Source from the content-addressed store, hash-verified

166bool hasMarkdownExtension(std::string_view fileName) { return checkFileExtension(fileName, ".md"); }
167
168bool hasCssExtension(std::string_view fileName) { return checkFileExtension(fileName, ".css"); }
169
170std::string extractFolderPath(const std::string& filePath) {
171 const auto lastSlash = filePath.find_last_of('/');

Callers

nothing calls this directly

Calls 1

checkFileExtensionFunction · 0.70

Tested by

no test coverage detected