diff --git a/doc/api/fs.md b/doc/api/fs.md index 40fde4144fec07..8da0057eed8db9 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -422,24 +422,36 @@ Stats { ``` ### stats.isBlockDevice() + * Returns: {boolean} Returns `true` if the `fs.Stats` object describes a block device. ### stats.isCharacterDevice() + * Returns: {boolean} Returns `true` if the `fs.Stats` object describes a character device. ### stats.isDirectory() + * Returns: {boolean} Returns `true` if the `fs.Stats` object describes a file system directory. ### stats.isFIFO() + * Returns: {boolean} @@ -447,18 +459,27 @@ Returns `true` if the `fs.Stats` object describes a first-in-first-out (FIFO) pipe. ### stats.isFile() + * Returns: {boolean} Returns `true` if the `fs.Stats` object describes a regular file. ### stats.isSocket() + * Returns: {boolean} Returns `true` if the `fs.Stats` object describes a socket. ### stats.isSymbolicLink() + * Returns: {boolean} @@ -521,6 +542,9 @@ The file system block size for i/o operations. The number of blocks allocated for this file. ### stats.atimeMs + * Value: {number} @@ -528,6 +552,9 @@ The timestamp indicating the last time this file was accessed expressed in milliseconds since the POSIX Epoch. ### stats.mtimeMs + * Value: {number} @@ -535,6 +562,9 @@ The timestamp indicating the last time this file was modified expressed in milliseconds since the POSIX Epoch. ### stats.ctimeMs + * Value: {number} @@ -542,6 +572,9 @@ The timestamp indicating the last time the file status was changed expressed in milliseconds since the POSIX Epoch. ### stats.birthtimeMs + * Value: {number} @@ -549,24 +582,36 @@ The timestamp indicating the creation time of this file expressed in milliseconds since the POSIX Epoch. ### stats.atime + * Value: {Date} The timestamp indicating the last time this file was accessed. ### stats.mtime + * Value: {Date} The timestamp indicating the last time this file was modified. ### stats.ctime + * Value: {Date} The timestamp indicating the last time the file status was changed. ### stats.birthtime + * Value: {Date}