| 1290 | } |
| 1291 | |
| 1292 | bool Storage::DeleteCountryFilesFromDownloader(CountryId const & countryId) |
| 1293 | { |
| 1294 | CHECK_THREAD_CHECKER(m_threadChecker, ()); |
| 1295 | |
| 1296 | if (IsDiffApplyingInProgressToCountry(countryId)) |
| 1297 | m_diffsBeingApplied[countryId]->Cancel(); |
| 1298 | |
| 1299 | m_downloader->Remove(countryId); |
| 1300 | DeleteDownloaderFilesForCountry(m_currentVersion, m_dataDir, GetCountryFile(countryId)); |
| 1301 | SaveDownloadQueue(); |
| 1302 | |
| 1303 | return true; |
| 1304 | } |
| 1305 | |
| 1306 | string Storage::GetFilePath(CountryId const & countryId, MapFileType type) const |
| 1307 | { |
nothing calls this directly
no test coverage detected