diff options
author | Rod Vagg <rod@vagg.org> | 2012-03-14 14:53:27 +1100 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-03-14 16:20:40 -0700 |
commit | c12a1dc5d8f04c3134be4131a77d283897500f9e (patch) | |
tree | 2a109dacd96bb5f259d968df549e1601dd5ee90e | |
parent | 3733a85d8d1fa82ca9998fd874f16084801d5db5 (diff) | |
download | node-new-c12a1dc5d8f04c3134be4131a77d283897500f9e.tar.gz |
path.exists*() as 2nd level head not 3rd
-rw-r--r-- | doc/api/path.markdown | 4 |
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`. |