Document path.existsSync()
authorRyan Dahl <ry@tinyclouds.org>
Sun, 20 Feb 2011 21:11:53 +0000 (13:11 -0800)
committerRyan Dahl <ry@tinyclouds.org>
Sun, 20 Feb 2011 21:11:55 +0000 (13:11 -0800)
Closes GH-677.

doc/api/path.markdown

index 36544f6..adef4b3 100644 (file)
@@ -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`.