| 49 | } |
| 50 | |
| 51 | std::string QueuedCountry::GetRelativeUrl() const |
| 52 | { |
| 53 | auto const fileName = m_countryFile.GetFileName(m_fileType); |
| 54 | |
| 55 | uint64_t diffVersion = 0; |
| 56 | if (m_fileType == MapFileType::Diff) |
| 57 | CHECK(m_diffsDataSource->VersionFor(m_countryId, diffVersion), ()); |
| 58 | |
| 59 | return downloader::GetFileDownloadUrl(fileName, m_currentDataVersion, diffVersion); |
| 60 | } |
| 61 | |
| 62 | std::string QueuedCountry::GetFileDownloadPath() const |
| 63 | { |
no test coverage detected