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

Method clearModificationCache

kdevplatform/language/editor/modificationrevision.cpp:97–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97void ModificationRevision::clearModificationCache(const IndexedString& fileName)
98{
99 ///@todo Make the cache management more clever (don't clear the whole)
100 ModificationRevisionSet::clearCache();
101
102 cacheData().op([&fileName](CacheData& data) { data.fileModificationCache.remove(fileName); });
103}
104
105ModificationRevision ModificationRevision::revisionForFile(const IndexedString& url)
106{

Callers

nothing calls this directly

Calls 2

opMethod · 0.80
removeMethod · 0.45

Tested by

no test coverage detected