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

Function GetRemoteSize

libs/storage/storage_helpers.cpp:84–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84MwmSize GetRemoteSize(diffs::DiffsDataSource const & diffsDataSource, platform::CountryFile const & file)
85{
86 uint64_t size;
87 if (diffsDataSource.SizeFor(file.GetName(), size))
88 return size;
89 return file.GetRemoteSize();
90}
91} // namespace storage

Callers 5

GetDownloadSizeMethod · 0.85
CountrySizeInBytesMethod · 0.85
CountryStatusExMethod · 0.85
CalculateProgressMethod · 0.85
GetRemoteSizeMethod · 0.85

Calls 3

SizeForMethod · 0.80
GetNameMethod · 0.45
GetRemoteSizeMethod · 0.45

Tested by

no test coverage detected