path.exists*() as 2nd level head not 3rd
This commit is contained in:
parent
3733a85d8d
commit
c12a1dc5d8
@ -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`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user