MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / isFile

Method isFile

lib/path.cpp:432–435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

430}
431
432bool Path::isFile(const std::string &path)
433{
434 return file_type(path) == S_IFREG;
435}
436
437bool Path::isDirectory(const std::string &path)
438{

Callers 4

filterMatchesMethod · 0.45
addPathListMethod · 0.45
openProjectFileMethod · 0.45

Calls 1

file_typeFunction · 0.85

Tested by

no test coverage detected