summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRod Vagg <rod@vagg.org>2012-03-14 14:53:27 +1100
committerisaacs <i@izs.me>2012-03-14 16:20:40 -0700
commitc12a1dc5d8f04c3134be4131a77d283897500f9e (patch)
tree2a109dacd96bb5f259d968df549e1601dd5ee90e
parent3733a85d8d1fa82ca9998fd874f16084801d5db5 (diff)
downloadnode-new-c12a1dc5d8f04c3134be4131a77d283897500f9e.tar.gz
path.exists*() as 2nd level head not 3rd
-rw-r--r--doc/api/path.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/path.markdown b/doc/api/path.markdown
index 9447066965..e37f4a7e1a 100644
--- a/doc/api/path.markdown
+++ b/doc/api/path.markdown
@@ -142,7 +142,7 @@ an empty string. Examples:
// returns
''
-### path.exists(p, [callback])
+## path.exists(p, [callback])
Test whether or not the given path exists by checking with the file system.
Then call the `callback` argument with either true or false. Example:
@@ -152,6 +152,6 @@ Then call the `callback` argument with either true or false. Example:
});
-### path.existsSync(p)
+## path.existsSync(p)
Synchronous version of `path.exists`.