diff options
author | Rod Vagg <rod@vagg.org> | 2012-03-14 07:53:27 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-03-15 03:20:40 +0400 |
commit | c12a1dc5d8f04c3134be4131a77d283897500f9e (patch) | |
tree | 2a109dacd96bb5f259d968df549e1601dd5ee90e /doc | |
parent | 3733a85d8d1fa82ca9998fd874f16084801d5db5 (diff) |
path.exists*() as 2nd level head not 3rd
Diffstat (limited to 'doc')
-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 94470669658..e37f4a7e1a2 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`. |