| 163 | } |
| 164 | |
| 165 | void ctkCmdLineModuleCache::removeCacheEntry(const QUrl& moduleLocation) |
| 166 | { |
| 167 | { |
| 168 | QMutexLocker lock(&d->Mutex); |
| 169 | d->LocationToTimeStamp.remove(moduleLocation); |
| 170 | d->LocationToXmlDescription.remove(moduleLocation); |
| 171 | } |
| 172 | |
| 173 | QFile timestampFile(d->timeStampFileName(moduleLocation)); |
| 174 | if (timestampFile.exists()) |
| 175 | { |
| 176 | timestampFile.remove(); |
| 177 | } |
| 178 | QFile xmlFile(d->xmlFileName(moduleLocation)); |
| 179 | if (xmlFile.exists()) |
| 180 | { |
| 181 | xmlFile.remove(); |
| 182 | } |
| 183 | } |
| 184 | |
| 185 | void ctkCmdLineModuleCache::clearCache() |
| 186 | { |
no test coverage detected