MCPcopy Create free account
hub / github.com/KDE/kdevelop / repositoryPathForSession

Method repositoryPathForSession

kdevplatform/language/duchain/duchain.cpp:1255–1262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1253extern void initInstantiationInformationRepository();
1254
1255QString DUChain::repositoryPathForSession(const KDevelop::ISessionLock::Ptr& session)
1256{
1257 QString cacheDir = QStandardPaths::writableLocation(QStandardPaths::GenericCacheLocation);
1258 cacheDir += QLatin1String("/kdevduchain");
1259 QString baseDir = QProcessEnvironment::systemEnvironment().value(QStringLiteral("KDEV_DUCHAIN_DIR"), cacheDir);
1260 baseDir += QStringLiteral("/%1-%2").arg(QCoreApplication::applicationName(), session->id());
1261 return baseDir;
1262}
1263
1264void DUChain::initialize()
1265{

Callers

nothing calls this directly

Calls 2

valueMethod · 0.45
idMethod · 0.45

Tested by

no test coverage detected