| 1253 | extern void initInstantiationInformationRepository(); |
| 1254 | |
| 1255 | QString 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 | |
| 1264 | void DUChain::initialize() |
| 1265 | { |