doc: move fs.existsSync() deprecation message

This commit moves the deprecation message for fs.existsSync()
above the function description, making message placement
uniform across the documentation.

PR-URL: https://github.com/nodejs/node/pull/3942
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
Martin Forsberg 2015-11-20 18:36:59 +01:00 committed by cjihrig
parent 174d4e484e
commit 55b1eccae6

View File

@ -364,11 +364,11 @@ non-existent.
## fs.existsSync(path)
Stability: 0 - Deprecated: Use [fs.statSync][] or [fs.accessSync][] instead.
Synchronous version of [`fs.exists`][].
Returns `true` if the file exists, `false` otherwise.
Stability: 0 - Deprecated: Use [fs.statSync][] or [fs.accessSync][] instead.
## fs.fchmod(fd, mode, callback)
Asynchronous fchmod(2). No arguments other than a possible exception