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

Function SaveKmlFileByExt

libs/map/bookmark_helpers.cpp:610–614  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

608}
609
610bool SaveKmlFileByExt(kml::FileData & kmlData, std::string const & file)
611{
612 auto const ext = base::GetFileExtension(file);
613 return SaveKmlFileSafe(kmlData, file, ext == kKmbExtension ? KmlFileType::Binary : KmlFileType::Text);
614}
615
616bool SaveKmlData(kml::FileData & kmlData, Writer & writer, KmlFileType fileType)
617{

Callers 3

SaveBookmarkCategoryMethod · 0.85
SaveBookmarksMethod · 0.85

Calls 2

GetFileExtensionFunction · 0.85
SaveKmlFileSafeFunction · 0.85

Tested by

no test coverage detected