Skip to content

Commit

Permalink
doc: move fs.existsSync() deprecation message
Browse files Browse the repository at this point in the history
This commit moves the deprecation message for fs.existsSync()
above the function description, making message placement
uniform across the documentation.

PR-URL: #3942
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
martfors authored and Myles Borins committed Dec 29, 2015
1 parent a221308 commit 14c6f84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/fs.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -367,11 +367,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
Expand Down

0 comments on commit 14c6f84

Please sign in to comment.