From e77b092a3f87cdf51507c3665ef8d7e83ecb42a4 Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Wed, 14 Mar 2012 14:53:27 +1100 Subject: [PATCH] path.exists*() as 2nd level head not 3rd --- doc/api/path.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/path.markdown b/doc/api/path.markdown index 944706696581..e37f4a7e1a2d 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`.