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

Method PrintFiles

Source/cmDocumentation.cxx:531–542  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

529}
530
531bool cmDocumentation::PrintFiles(std::ostream& os, std::string const& pattern)
532{
533 bool found = false;
534 std::vector<std::string> files;
535 this->GlobHelp(files, pattern);
536 std::sort(files.begin(), files.end());
537 cmRST r(os, cmStrCat(cmSystemTools::GetCMakeRoot(), "/Help"));
538 for (std::string const& f : files) {
539 found = r.ProcessFile(f) || found;
540 }
541 return found;
542}
543
544bool cmDocumentation::PrintHelpFull(std::ostream& os)
545{

Callers 8

PrintHelpFullMethod · 0.95
PrintHelpOneManualMethod · 0.95
PrintHelpOneArbitraryMethod · 0.95
PrintHelpOneCommandMethod · 0.95
PrintHelpOneModuleMethod · 0.95
PrintHelpOnePropertyMethod · 0.95
PrintHelpOnePolicyMethod · 0.95
PrintHelpOneVariableMethod · 0.95

Calls 5

GlobHelpMethod · 0.95
ProcessFileMethod · 0.80
cmStrCatFunction · 0.70
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected