MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / getLoadedVersion

Method getLoadedVersion

launcher/meta/Index.cpp:153–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153Version::Ptr Index::getLoadedVersion(const QString& uid, const QString& version)
154{
155 QEventLoop ev;
156 auto task = loadVersion(uid, version);
157 QObject::connect(task.get(), &Task::finished, &ev, &QEventLoop::quit);
158 task->start();
159 ev.exec();
160 return get(uid, version);
161}
162} // namespace Meta

Callers 3

getComponentVersionFunction · 0.80
performUpdateActionsMethod · 0.80
waitLoadMetaMethod · 0.80

Calls 3

getMethod · 0.45
startMethod · 0.45
execMethod · 0.45

Tested by

no test coverage detected