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

Method VersionFor

libs/storage/diff_scheme/diffs_data_source.cpp:61–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61bool DiffsDataSource::VersionFor(storage::CountryId const & countryId, uint64_t & v) const
62{
63 CHECK_THREAD_CHECKER(m_threadChecker, ());
64
65 return WithNotAppliedDiff(countryId, [&v](DiffInfo const & info) { v = info.m_version; });
66}
67
68bool DiffsDataSource::HasDiffFor(storage::CountryId const & countryId) const
69{

Callers 2

GetRelativeUrlMethod · 0.80
ApplyDiffMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected