path.exists*() as 2nd level head not 3rd

This commit is contained in:
Rod Vagg 2012-03-14 14:53:27 +11:00 committed by isaacs
parent 3733a85d8d
commit c12a1dc5d8

View File

@ -142,7 +142,7 @@ an empty string. Examples:
// returns // returns
'' ''
### path.exists(p, [callback]) ## path.exists(p, [callback])
Test whether or not the given path exists by checking with the file system. 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: 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`. Synchronous version of `path.exists`.