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

Method clearCache

kdevplatform/language/editor/modificationrevisionset.cpp:117–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115QHash<uint, std::pair<QDateTime, bool>> needsUpdateCache;
116
117void ModificationRevisionSet::clearCache()
118{
119 QMutexLocker lock(modificationRevisionSetMutex());
120 ///@todo More intelligent clearing. We actually need to watch the directory for changes, and if there are changes, clear the cache.
121 needsUpdateCache.clear();
122}
123
124struct FileModificationSetRepository
125 : public Utils::BasicSetRepository

Callers

nothing calls this directly

Calls 2

clearMethod · 0.45

Tested by

no test coverage detected