Browse Source

Document path.existsSync()

Closes GH-677.
v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
df215a67d4
  1. 5
      doc/api/path.markdown

5
doc/api/path.markdown

@ -112,3 +112,8 @@ with either true or false. Example:
path.exists('/etc/passwd', function (exists) { path.exists('/etc/passwd', function (exists) {
util.debug(exists ? "it's there" : "no passwd!"); util.debug(exists ? "it's there" : "no passwd!");
}); });
### path.existsSync(p)
Synchronous version of `path.exists`.

Loading…
Cancel
Save