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

Method UpdateByCustom

Source/CTest/cmCTestGIT.cxx:212–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210}
211
212bool cmCTestGIT::UpdateByCustom(std::string const& custom)
213{
214 cmList git_custom_command{ custom, cmList::EmptyElements::Yes };
215 std::vector<std::string> git_custom;
216 git_custom.reserve(git_custom_command.size());
217 cm::append(git_custom, git_custom_command);
218
219 OutputLogger custom_out(this->Log, "custom-out> ");
220 OutputLogger custom_err(this->Log, "custom-err> ");
221 return this->RunUpdateCommand(git_custom, &custom_out, &custom_err);
222}
223
224bool cmCTestGIT::UpdateInternal()
225{

Callers 1

UpdateInternalMethod · 0.95

Calls 4

appendFunction · 0.85
reserveMethod · 0.80
RunUpdateCommandMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected