MCPcopy Create free account
hub / github.com/catboost/catboost / PrintSvnVersionAndExitEx

Function PrintSvnVersionAndExitEx

library/cpp/svnversion/svnversion.cpp:19–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19extern "C" void PrintSvnVersionAndExitEx(int argc, char* argv[], const char* opts) {
20 if (2 == argc) {
21 for (TStringBuf all = opts, versionOpt; all.NextTok(';', versionOpt);) {
22 if (versionOpt == argv[1]) {
23 PrintSvnVersionAndExit0();
24 }
25 }
26 }
27}
28
29extern "C" void PrintSvnVersionAndExit(int argc, char* argv[]) {
30 PrintSvnVersionAndExitEx(argc, argv, "--version");

Callers 1

PrintSvnVersionAndExitFunction · 0.85

Calls 2

PrintSvnVersionAndExit0Function · 0.85
NextTokMethod · 0.45

Tested by

no test coverage detected