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

Method OnStartDownloading

libs/storage/storage.cpp:988–998  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

986}
987
988void Storage::OnStartDownloading(QueuedCountry const & queuedCountry)
989{
990 CHECK_THREAD_CHECKER(m_threadChecker, ());
991
992 if (m_startDownloadingCallback)
993 m_startDownloadingCallback();
994
995 m_downloadingCountries[queuedCountry.GetCountryId()] = Progress::Unknown();
996
997 NotifyStatusChangedForHierarchy(queuedCountry.GetCountryId());
998}
999
1000void Storage::OnDownloadProgress(QueuedCountry const & queuedCountry, Progress const & progress)
1001{

Callers 2

DownloadMethod · 0.45
DownloadMethod · 0.45

Calls 1

GetCountryIdMethod · 0.80

Tested by

no test coverage detected