Protected
_istime of last access, in milliseconds since epoch
time of file creation, in milliseconds since epoch
blocksize for file system I/O
time of last time file status was changed, in milliseconds since epoch
ID of device containing file
Optional
fileSome file systems stash data on stats objects.
group ID of owner
inode number
Unix-style file mode (e.g. 0o644) that includes the type of the item. Type of the item can be FILE, DIRECTORY, SYMLINK, or SOCKET
time of last modification, in milliseconds since epoch
number of hard links
device ID (if special file)
Size of the item in bytes. For directories/symlinks, this is normally the size of the struct that represents the item.
user ID of owner
Protected
_convertInternal
Convert the current stats object into a credentials object
Internal
Checks if a given user/group has access to this item
The requested access, combination of W_OK, R_OK, and X_OK
The requesting credentials
True if the request has access, false if the request does not
Implementation of Node's
Stats
.Attribute descriptions are from `man 2 stat'
See