This repository was archived by the owner on Nov 14, 2018. It is now read-only.
This repository was archived by the owner on Nov 14, 2018. It is now read-only.
Use fs.statSync
? #2
Closed
Description
Currently, fs.existsSync
is implemented in terms of fs.statSync
. I think this module can copy that logic and be much simpler as a result.
statSync
already follows symlinks automatically and throws an ENOENT error on broken symlinks, unlike lstatSync
, so no special handling is needed for that.
Metadata
Metadata
Assignees
Labels
No labels