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

Function GetAcceptLanguage

libs/storage/map_files_downloader.cpp:182–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182std::string GetAcceptLanguage()
183{
184 auto const locale = platform::GetCurrentLocale();
185 return locale.m_language + "-" + locale.m_country;
186}
187
188// static
189MetaConfig MapFilesDownloader::LoadMetaConfig()

Callers 1

LoadMetaConfigMethod · 0.85

Calls 1

GetCurrentLocaleFunction · 0.50

Tested by

no test coverage detected