diff options
-rw-r--r-- | docs/markdown/Fs-module.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/markdown/Fs-module.md b/docs/markdown/Fs-module.md index 423ec8e..87cbe1a 100644 --- a/docs/markdown/Fs-module.md +++ b/docs/markdown/Fs-module.md @@ -39,6 +39,11 @@ by the string is a symbolic link. The `fs.hash(filename)` method computes the requested hash sum of a file. The available hash methods include: md5, sha1, sha224, sha256, sha384, sha512. +### size + +The `fs.size(filename)` method returns the size of the file in bytes. +Symlinks will be resolved if possible. + ### samefile The `fs.samefile(filename1, filename2)` method allows determining if two filenames refer to the same file. |