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

Method MakeTemporary

libs/platform/local_country_file.cpp:123–130  ·  view source on GitHub ↗

static

Source from the content-addressed store, hash-verified

121
122// static
123LocalCountryFile LocalCountryFile::MakeTemporary(std::string const & fullPath)
124{
125 auto name = fullPath;
126 base::GetNameFromFullPath(name);
127 base::GetNameWithoutExt(name);
128
129 return LocalCountryFile(base::GetDirectory(fullPath), CountryFile(std::move(name)), 0 /* version */);
130}
131
132std::string DebugPrint(LocalCountryFile const & file)
133{

Callers

nothing calls this directly

Calls 5

GetNameFromFullPathFunction · 0.85
GetNameWithoutExtFunction · 0.85
GetDirectoryFunction · 0.85
LocalCountryFileClass · 0.70
CountryFileClass · 0.70

Tested by

no test coverage detected