Provides information about a particular entry in the file system.
Size of the item in bytes. For directories/symlinks, this is normally the size of the struct that represents the item.
Unix-style file mode (e.g. 0o644)
time of last access
time of last modification
time of creation
time of last access
time of creation
UNSUPPORTED ATTRIBUTES I assume no one is going to need these details, although we could fake appropriate values if need be.
time of last modification
Size of the item in bytes. For directories/symlinks, this is normally the size of the struct that represents the item.
Change the mode of the file. We use this helper function to prevent messing up the type of the file, which is encoded in mode.
Nonstandard: Clone the stats object.
True if this item is a directory.
True if this item is a file.
True if this item is a symbolic link (only valid through lstat)
Generated using TypeDoc
Emulation of Node's
fs.Stats
object.Attribute descriptions are from `man 2 stat'
http://nodejs.org/api/fs.html#fs_class_fs_stats
http://man7.org/linux/man-pages/man2/stat.2.html