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

Method RetryDownloadNode

libs/storage/storage.cpp:2101–2111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2099}
2100
2101void Storage::RetryDownloadNode(CountryId const & countryId)
2102{
2103 ForEachInSubtree(countryId, [this](CountryId const & descendantId, bool groupNode)
2104 {
2105 if (!groupNode && m_failedCountries.count(descendantId) != 0)
2106 {
2107 bool const isUpdateRequest = m_diffsDataSource->HasDiffFor(descendantId);
2108 DownloadNode(descendantId, isUpdateRequest);
2109 }
2110 });
2111}
2112
2113bool Storage::GetUpdateInfo(CountryId const & countryId, UpdateInfo & updateInfo) const
2114{

Calls 2

HasDiffForMethod · 0.80
countMethod · 0.45

Tested by

no test coverage detected