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

Method UpdateNode

libs/storage/storage.cpp:2068–2075  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2066}
2067
2068void Storage::UpdateNode(CountryId const & countryId)
2069{
2070 ForEachInSubtree(countryId, [this](CountryId const & descendantId, bool groupNode)
2071 {
2072 if (!groupNode && m_localFiles.find(descendantId) != m_localFiles.end())
2073 DownloadNode(descendantId, true /* isUpdate */);
2074 });
2075}
2076
2077void Storage::CancelDownloadNode(CountryId const & countryId)
2078{

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected