mirror of https://github.com/nodejs/node.git
parent
4ed6688010
commit
df215a67d4
|
@ -112,3 +112,8 @@ with either true or false. Example:
|
|||
path.exists('/etc/passwd', function (exists) {
|
||||
util.debug(exists ? "it's there" : "no passwd!");
|
||||
});
|
||||
|
||||
|
||||
### path.existsSync(p)
|
||||
|
||||
Synchronous version of `path.exists`.
|
||||
|
|
Loading…
Reference in New Issue