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

Method SizeToDownloadFor

libs/storage/diff_scheme/diffs_data_source.cpp:54–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54bool DiffsDataSource::SizeToDownloadFor(storage::CountryId const & countryId, uint64_t & size) const
55{
56 CHECK_THREAD_CHECKER(m_threadChecker, ());
57
58 return WithNotAppliedDiff(countryId, [&size](DiffInfo const & info) { size = info.m_size; });
59}
60
61bool DiffsDataSource::VersionFor(storage::CountryId const & countryId, uint64_t & v) const
62{

Callers 2

GetDownloadSizeMethod · 0.80
GetUpdateInfoMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected