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

Function GetLowercaseFileExt

libs/map/bookmark_helpers.cpp:323–326  ·  view source on GitHub ↗

Returns extension with a dot in a lower case.

Source from the content-addressed store, hash-verified

321
322// Returns extension with a dot in a lower case.
323std::string GetLowercaseFileExt(std::string const & filePath)
324{
325 return strings::MakeLowerCase(base::GetFileExtension(filePath));
326}
327
328std::string GenerateUniqueFileName(std::string const & path, std::string name, std::string_view ext)
329{

Callers 4

LoadBookmarkRoutineMethod · 0.85
ReloadBookmarkRoutineMethod · 0.85

Calls 2

MakeLowerCaseFunction · 0.85
GetFileExtensionFunction · 0.85

Tested by

no test coverage detected