MCPcopy Create free account
hub / github.com/comaps/comaps / GetRelativeUrl

Method GetRelativeUrl

libs/storage/queued_country.cpp:51–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51std::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
62std::string QueuedCountry::GetFileDownloadPath() const
63{

Callers 1

DownloadMethod · 0.80

Calls 3

GetFileDownloadUrlFunction · 0.85
VersionForMethod · 0.80
GetFileNameMethod · 0.45

Tested by

no test coverage detected