MCPcopy Create free account
hub / github.com/Samsung/rlottie / isJsonFile

Function isJsonFile

example/evasapp.cpp:124–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124static bool isJsonFile(const char *filename) {
125 const char *dot = strrchr(filename, '.');
126 if(!dot || dot == filename) return false;
127 return !strcmp(dot + 1, "json");
128}
129
130std::vector<std::string>
131EvasApp::jsonFiles(const std::string &dirName, bool /*recurse*/)

Callers 1

jsonFilesMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected