FileInfo$Typings extension

on

Properties

atime DateTime?
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.
getter/setter pair
birthtime DateTime?
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.
getter/setter pair
blksize num?
Blocksize for filesystem I/O.
getter/setter pair
blocks num?
Number of blocks allocated to the file, in 512-byte units.
getter/setter pair
dev num
ID of the device containing the file.
getter/setter pair
gid num?
Group ID of the owner of this file.
getter/setter pair
ino num?
Inode number.
getter/setter pair
isBlockDevice bool?
True if this is info for a block device.
getter/setter pair
isCharDevice bool?
True if this is info for a char device.
getter/setter pair
isDirectory bool
True if this is info for a regular directory. Mutually exclusive to FileInfo.isFile and FileInfo.isSymlink.
getter/setter pair
isFifo bool?
True if this is info for a fifo.
getter/setter pair
isFile bool
True if this is info for a regular file. Mutually exclusive to FileInfo.isDirectory and FileInfo.isSymlink.
getter/setter pair
isSocket bool?
True if this is info for a socket.
getter/setter pair
True if this is info for a symlink. Mutually exclusive to FileInfo.isFile and FileInfo.isDirectory.
getter/setter pair
mode num?
UNSTABLE*: Match behavior with Go on Windows for mode.
getter/setter pair
mtime DateTime?
The last modification time of the file. This corresponds to the mtime field from stat on Linux/Mac OS and ftLastWriteTime on Windows. This may not be available on all platforms.
getter/setter pair
Number of hard links pointing to this file.
getter/setter pair
rdev num?
Device ID of this file.
getter/setter pair
size num
The size of the file, in bytes.
getter/setter pair
uid num?
User ID of the owner of this file.
getter/setter pair