diff --git a/doc/api/fs.md b/doc/api/fs.md index d1eb765aad078b..20f041d5f1d696 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -421,24 +421,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} @@ -446,18 +458,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} @@ -520,6 +541,9 @@ The file system block size for i/o operations. The number of blocks allocated for this file. ### stats.atimeMs + * Value: {number} @@ -527,6 +551,9 @@ The timestamp indicating the last time this file was accessed expressed in milliseconds since the POSIX Epoch. ### stats.mtimeMs + * Value: {number} @@ -534,6 +561,9 @@ The timestamp indicating the last time this file was modified expressed in milliseconds since the POSIX Epoch. ### stats.ctimeMs + * Value: {number} @@ -541,6 +571,9 @@ The timestamp indicating the last time the file status was changed expressed in milliseconds since the POSIX Epoch. ### stats.birthtimeMs + * Value: {number} @@ -548,24 +581,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}