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

Method IsInnerNode

libs/storage/storage.cpp:684–690  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

682}
683
684bool Storage::IsInnerNode(CountryId const & countryId) const
685{
686 if (!IsCountryIdValid(countryId))
687 return false;
688 CountryTree::Node const * const node = m_countries.FindFirst(countryId);
689 return node != nullptr && node->ChildrenCount() != 0;
690}
691
692LocalAndRemoteSize Storage::CountrySizeInBytes(CountryId const & countryId) const
693{

Callers 1

Calls 3

IsCountryIdValidFunction · 0.85
FindFirstMethod · 0.80
ChildrenCountMethod · 0.80

Tested by

no test coverage detected