MCPcopy Create free account
hub / github.com/Kitware/CMake / CheckDirectory

Method CheckDirectory

Source/cmFindProgramCommand.cxx:78–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 });
77 }
78 bool CheckDirectory(std::string const& path)
79 {
80 return std::any_of(this->Names.begin(), this->Names.end(),
81 [this, &path](std::string const& n) -> bool {
82 return this->CheckDirectoryForName(path, n);
83 });
84 }
85 bool CheckDirectoryForName(std::string const& path, std::string const& name)
86 {
87 return std::any_of(this->Extensions.begin(), this->Extensions.end(),

Calls 3

CheckDirectoryForNameMethod · 0.95
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected