Deno.FileInfo
A FileInfo describes a file and is returned by stat
, lstat
,
statSync
, lstatSync
.
§Properties
The last access time of the file. This corresponds to the atime
field from stat
on Unix and ftLastAccessTime
on Windows. This may not
be available on all platforms.
The creation time of the file. This corresponds to the birthtime
field from stat
on Mac/BSD and ftCreationTime
on Windows. This may
not be available on all platforms.
Number of blocks allocated to the file, in 512-byte units.
Linux/Mac OS only.
True if this is info for a regular directory. Mutually exclusive to
FileInfo.isFile
and FileInfo.isSymlink
.
True if this is info for a regular file. Mutually exclusive to
FileInfo.isDirectory
and FileInfo.isSymlink
.
True if this is info for a symlink. Mutually exclusive to
FileInfo.isFile
and FileInfo.isDirectory
.
UNSTABLE: Match behavior with Go on Windows for mode
.
The underlying raw st_mode
bits that contain the standard Unix
permissions for this file/directory.