MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / safeVersion

Function safeVersion

src/env.cpp:1080–1088  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1078}
1079
1080std::wstring safeVersion()
1081{
1082 try {
1083 // this can throw
1084 return MOShared::createVersionInfo().displayString(3).toStdWString() + L"-";
1085 } catch (...) {
1086 return {};
1087 }
1088}
1089
1090HandlePtr tempFile(const std::wstring dir)
1091{

Callers 1

tempFileFunction · 0.85

Calls 1

createVersionInfoFunction · 0.85

Tested by

no test coverage detected