loadRecentFiles
FitFileViewer - API Documentation v29.4.0
FitFileViewer - API Documentation / utils/files/recent/recentFiles / loadRecentFiles
Function: loadRecentFiles()
loadRecentFiles():
string[]
Defined in: utils/files/recent/recentFiles.js:151
Loads the list of recent files from the RECENT_FILES_PATH.
Attempts to read and parse a JSON file containing recent files. If the file does not exist or an error occurs, returns an empty array.
Returnsβ
string[]
An array of recent files, or an empty array if none are found or an error occurs.