MCPcopy Create free account
hub / github.com/ElyPrismLauncher/Launcher / checkQSavePath

Method checkQSavePath

launcher/Application.cpp:2072–2081  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2070}
2071
2072bool Application::checkQSavePath(QString path)
2073{
2074 QMutexLocker locker(&m_qsaveResourcesMutex);
2075 for (auto partialPath : m_qsaveResources.keys()) {
2076 if (path.startsWith(partialPath) && m_qsaveResources.value(partialPath, 0) > 0) {
2077 return true;
2078 }
2079 }
2080 return false;
2081}

Callers 1

executeTaskMethod · 0.80

Calls 1

valueMethod · 0.80

Tested by

no test coverage detected