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

Method RemoveDiffForCountry

libs/storage/diff_scheme/diffs_data_source.cpp:89–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89void DiffsDataSource::RemoveDiffForCountry(storage::CountryId const & countryId)
90{
91 CHECK_THREAD_CHECKER(m_threadChecker, ());
92
93 m_diffs.erase(countryId);
94
95 if (m_diffs.empty() || !IsDiffsAvailable(m_diffs))
96 m_status = Status::NotAvailable;
97}
98
99void DiffsDataSource::AbortDiffScheme()
100{

Callers 2

DeleteCountryMethod · 0.80
ApplyDiffMethod · 0.80

Calls 3

IsDiffsAvailableFunction · 0.85
eraseMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected