Document path.existsSync()

Closes GH-677.
v0.7.4-release
Ryan Dahl 2011-02-20 13:11:53 -08:00
parent 4ed6688010
commit df215a67d4
1 changed files with 5 additions and 0 deletions

View 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`.