文件统计信息。
FileStat对象结构:
{
size: number, // 文件大小(字节)
mode: number, // 文件权限模式
mtime: number, // 修改时间(毫秒时间戳)
atime: number, // 访问时间(毫秒时间戳)
ctime: number // 创建时间(毫秒时间戳)
}
此对象由os.stat()
函数返回。
{@fun/OS/File File}, {@fun/OS/os os}, {@fun/OS/ListFilesResult ListFilesResult}