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

Function GetVersionPatch

Source/Version/version.cpp:104–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104std::string GetVersionPatch() {
105 std::vector<std::string> split_string;
106 split(GetShortBuildTag(), '.', split_string);
107 if (split_string.size() >= 3) {
108 return split_string[2];
109 } else {
110 return std::string();
111 }
112}
113
114std::string GetShortBuildTimestamp() {
115 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