doc: suggest alternatives to deprecated APs
authorBenjamin Gruenbaum <inglor@gmail.com>
Sat, 28 Feb 2015 20:30:03 +0000 (22:30 +0200)
committerChristian Tellnes <christian@tellnes.no>
Sun, 1 Mar 2015 17:46:28 +0000 (18:46 +0100)
commitc380ac6e9887c6dd7dab0fde1e0d099b11bf9a2f
treeb12fdcd7f90a651d8640db260b58fa7b95359a73
parent2b47fd2eb615511ee1f2f29d496cd817e54740e1
doc: suggest alternatives to deprecated APs

At the moment users who want to use `fs.exists` get a warning that the
method is deprecated but do not get offered an alternative in the page.
This PR suggests `fs.stat` and `fs.access` as alternatives while
keeping the warning about the use case in place.

Fixes: https://github.com/iojs/io.js/issues/1002
PR-URL: https://github.com/iojs/io.js/pull/1007
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Christian Tellnes <christian@tellnes.no>
doc/api/fs.markdown