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

Method GetRecentlyDeletedCategories

libs/map/bookmark_manager.cpp:425–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423}
424
425BookmarkManager::KMLDataCollectionPtr BookmarkManager::GetRecentlyDeletedCategories()
426{
427 auto collection =
428 LoadBookmarks(GetTrashDirectory(), kKmlExtension, KmlFileType::Text, [](kml::FileData const &) { return true; });
429 return collection;
430}
431
432bool BookmarkManager::IsRecentlyDeletedCategory(std::string const & filePath) const
433{

Callers 1

UNIT_CLASS_TESTFunction · 0.80

Calls 1

GetTrashDirectoryFunction · 0.85

Tested by 1

UNIT_CLASS_TESTFunction · 0.64