From df215a67d4ee53be749693909aae266d41723aa7 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sun, 20 Feb 2011 13:11:53 -0800 Subject: [PATCH] Document path.existsSync() Closes GH-677. --- doc/api/path.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/api/path.markdown b/doc/api/path.markdown index 36544f6..adef4b3 100644 --- a/doc/api/path.markdown +++ b/doc/api/path.markdown @@ -112,3 +112,8 @@ with either true or false. Example: path.exists('/etc/passwd', function (exists) { util.debug(exists ? "it's there" : "no passwd!"); }); + + +### path.existsSync(p) + +Synchronous version of `path.exists`. -- 2.7.4