MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / GetVersionMinor

Function GetVersionMinor

Source/Version/version.cpp:93–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93std::string GetVersionMinor() {
94 std::vector<std::string> split_string;
95 split(GetShortBuildTag(), '.', split_string);
96
97 if (split_string.size() >= 2) {
98 return split_string[1];
99 } else {
100 return std::string();
101 }
102}
103
104std::string GetVersionPatch() {
105 std::vector<std::string> split_string;

Callers 1

ReloadMethod · 0.85

Calls 3

GetShortBuildTagFunction · 0.85
splitFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected