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

Function DeleteCategoryFiles

libs/map/map_tests/bookmarks_test.cpp:291–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289namespace
290{
291void DeleteCategoryFiles(vector<string> const & arrFiles)
292{
293 string const path = GetBookmarksDirectory();
294 string const extension = ".kmb";
295 for (auto const & fileName : arrFiles)
296 FileWriter::DeleteFileX(base::JoinPath(path, fileName + extension));
297}
298
299UserMark const * GetMark(Framework & fm, m2::PointD const & pt)
300{

Callers 2

UNIT_TESTFunction · 0.85
UNIT_CLASS_TESTFunction · 0.85

Calls 3

GetBookmarksDirectoryFunction · 0.85
DeleteFileXFunction · 0.85
JoinPathFunction · 0.85

Tested by

no test coverage detected