Commit 23b9625c authored by Christopn Noelke's avatar Christopn Noelke Committed by James M Snell
Browse files

doc: add example for file existence with fs.stat

Add an example on how to test if a file exists with fs.stat.
Also add a link to the Common System Errors.

Fixes: https://github.com/nodejs/issues/6752
PR-URL: https://github.com/nodejs/node/pull/8585


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarIlkka Myller <ilkka.myller@nodefield.com>
parent 105e628f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment