From bbdc9720118eda3d692a5fe9be22d5ee43c16c32 Mon Sep 17 00:00:00 2001 From: kwkofler Date: Sat, 8 Mar 2014 14:12:47 -0500 Subject: [PATCH] README formatting issues remedied --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b427086..91b7bc5 100644 --- a/README.md +++ b/README.md @@ -346,8 +346,10 @@ Callback gets `(error, stats)`, where `stats` is an object with the following pr } ``` -The following convenience methods are also present on the callback's 'stats': +The following convenience methods are also present on the callback's `stats`: +``` +{ isFile(): Returns true if the node is a file. isDirectory(): Returns true if the node is a directory. isBlockDevice(): Not implemented, returns false. @@ -355,6 +357,8 @@ isCharacterDevice(): Not implemented, returns false. isSymbolicLink(): Returns true if the node is a symbolic link. isFIFO(): Not implemented, returns false. isSocket(): Not implemented, returns false. +} +``` If the file at `path` is a symbolic link, the file to which it links will be used instead. To get the status of a symbolic link file, use [fs.lstat()](#lstat) instead.