MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / getStoredFiles

Method getStoredFiles

source/MRViewer/MRRecentFilesStore.cpp:38–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36#endif
37
38std::vector<std::filesystem::path> RecentFilesStore::getStoredFiles() const
39{
40 if ( appName_.empty() )
41 {
42 spdlog::warn( "RecentFilesStore has no app name, data is not read" );
43 return {};
44 }
45 auto& cfg = Config::instance();
46 return cfg.getFileStack( cRecentFilesStorageKey );
47}
48
49boost::signals2::connection RecentFilesStore::onUpdate( const boost::function<void( const FileNamesStack& files )> & slot, boost::signals2::connect_position position )
50{

Callers 1

setupListUpdate_Method · 0.80

Calls 3

instanceFunction · 0.85
getFileStackMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected