MCPcopy Create free account
hub / github.com/SpartanJ/eepp / getVersionNumString

Method getVersionNumString

src/tools/ecode/version.cpp:17–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15 return ECODE_VERSIONNUM( ver.major, ver.minor, ver.patch, ver.commit );
16}
17std::string Version::getVersionNumString() {
18 Version ver = getVersion();
19 if ( ver.commit > 0 && ver.commit < 9999 )
20 return String::format( "%" PRIu64 ".%" PRIu64 ".%" PRIu64 "-%" PRIu64, ver.major, ver.minor,
21 ver.patch, ver.commit );
22 return String::format( "%" PRIu64 ".%" PRIu64 ".%" PRIu64, ver.major, ver.minor, ver.patch );
23}
24
25std::string Version::getVersionFullName() {
26 Version ver = getVersion();

Callers

nothing calls this directly

Calls 1

formatFunction · 0.85

Tested by

no test coverage detected