# FileSystemManager.getSavedFileList(Object object)

Gets the list of local cache files saved under the Mini Program.

# Parameters

# Object object

Attribute Type Default Required Description
success function No The callback function for a successful API call
fail function No Callback function for failed API call
complete function No Callback function used when API call completed (always executed whether call succeeds or fails)

# object.success callback function

# Parameters
# Object res
Property Type Description
fileList Array.<Object> File array

res.fileList is composed as follows

Property Type Description
filePath string Local path
size number Local file size in bytes
createTime number The timestamp when the file was saved, which is defined as the number of seconds that have elapsed since 1970/01/01 08:00:00 to the current time
点击咨询小助手