| 115 | QHash<uint, std::pair<QDateTime, bool>> needsUpdateCache; |
| 116 | |
| 117 | void 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 | |
| 124 | struct FileModificationSetRepository |
| 125 | : public Utils::BasicSetRepository |
nothing calls this directly
no test coverage detected