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

Function GetQueuedCountries

libs/storage/storage.cpp:99–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97} // namespace
98
99CountriesSet GetQueuedCountries(QueueInterface const & queue)
100{
101 CountriesSet result;
102 queue.ForEachCountry([&result](QueuedCountry const & country) { result.insert(country.GetCountryId()); });
103
104 return result;
105}
106
107Progress Storage::GetOverallProgress(CountriesVec const & countries) const
108{

Callers 2

CalculateProgressMethod · 0.85
CancelDownloadNodeMethod · 0.85

Calls 3

GetCountryIdMethod · 0.80
ForEachCountryMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected