stat
Undocumented
-
Undocumented
-
Date of last access. Date of
st_atimespec
orst_atime
.The field
st_atime
is changed by file accesses, for example, byexecve
,mknod
,pipe
,utime
, andread
(of more than zero bytes). Other routines, likemmap
, may or may not updatest_atime
.Declaration
Swift
var lastAccessDate: Date
-
Date of last data modification. Date of
st_mtimespec
orst_mtime
.The field
st_mtime
is changed by file modifications, for example, bymknod
,truncate
,utime
, andwrite
(of more than zero bytes). Moreover,st_mtime
of a directory is changed by the creation or deletion of files in that directory. Thest_mtime
field is not changed for changes in owner, group, hard link count, or mode.Declaration
Swift
var lastDataModificationDate: Date
-
Date of last status change. Date of
st_ctimespec
orst_ctime
.The field
st_ctime
is changed by writing or by setting inode information (i.e., owner, group, link count, mode, etc.).Declaration
Swift
var lastStatusChangeDate: Date
-
Date file was created. Date of
st_birthtimespec
orst_birthtime
.Declaration
Swift
var creationDate: Date
-
Undocumented