| 1591 | } |
| 1592 | |
| 1593 | int64_t Storage::GetVersion(CountryId const & countryId) const |
| 1594 | { |
| 1595 | CHECK_THREAD_CHECKER(m_threadChecker, ()); |
| 1596 | |
| 1597 | auto const localMap = GetLatestLocalFile(countryId); |
| 1598 | if (localMap == nullptr) |
| 1599 | return 0; |
| 1600 | |
| 1601 | return localMap->GetVersion(); |
| 1602 | } |
| 1603 | |
| 1604 | void Storage::DownloadNode(CountryId const & countryId, bool isUpdate /* = false */) |
| 1605 | { |
no outgoing calls