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

Function TypeToCommandKey

Source/CTest/cmCTestUpdateCommand.cxx:59–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59char const* TypeToCommandKey(int type)
60{
61 // clang-format off
62 switch (type) {
63 case e_CVS: return "CTEST_CVS_COMMAND";
64 case e_SVN: return "CTEST_SVN_COMMAND";
65 case e_BZR: return "CTEST_BZR_COMMAND";
66 case e_GIT: return "CTEST_GIT_COMMAND";
67 case e_HG: return "CTEST_HG_COMMAND";
68 case e_P4: return "CTEST_P4_COMMAND";
69 default: return nullptr;
70 }
71 // clang-format on
72}
73
74int DetermineType(std::string const& cmd)
75{

Callers 1

ExecuteUpdateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…