projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ed6688
)
Document path.existsSync()
author
Ryan Dahl
<ry@tinyclouds.org>
Sun, 20 Feb 2011 21:11:53 +0000
(13:11 -0800)
committer
Ryan Dahl
<ry@tinyclouds.org>
Sun, 20 Feb 2011 21:11:55 +0000
(13:11 -0800)
Closes GH-677.
doc/api/path.markdown
patch
|
blob
|
history
diff --git
a/doc/api/path.markdown
b/doc/api/path.markdown
index
36544f6
..
adef4b3
100644
(file)
--- 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`.