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

Method updateChangedFiles

kdevplatform/language/classmodel/documentclassesfolder.cpp:79–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79void DocumentClassesFolder::updateChangedFiles()
80{
81 bool hadChanges = false;
82
83 // re-parse changed documents.
84 // TODO: m_updatedFiles seems no longer set, check again and remove if
85 for (const IndexedString& file : std::as_const(m_updatedFiles)) {
86 // Make sure it's one of the monitored files.
87 if (m_openFiles.contains(file))
88 hadChanges |= updateDocument(file);
89 }
90
91 // Processed all files.
92 m_updatedFiles.clear();
93
94 // Sort if had changes.
95 if (hadChanges)
96 recursiveSort();
97}
98
99void DocumentClassesFolder::nodeCleared()
100{

Callers

nothing calls this directly

Calls 2

containsMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected