Skip to content

Commit

Permalink
doc: fix fs.realpath man pg links
Browse files Browse the repository at this point in the history
There is no realpath(2), only in sections 1 & 3
causes broken link on nodejs.org/api/ docs

PR-URL: nodejs#6451
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
phette23 authored and joelostrowski committed May 4, 2016
1 parent bde4d24 commit 8ff2f94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ Synchronous version of [`fs.read()`][]. Returns the number of `bytesRead`.
* `encoding` {String} default = `'utf8'`
* `callback` {Function}

Asynchronous realpath(2). The `callback` gets two arguments `(err,
Asynchronous realpath(3). The `callback` gets two arguments `(err,
resolvedPath)`. May use `process.cwd` to resolve relative paths.

The optional `options` argument can be a string specifying an encoding, or an
Expand All @@ -976,7 +976,7 @@ the path returned will be passed as a `Buffer` object.
* `options` {String | Object}
* `encoding` {String} default = `'utf8'`

Synchronous realpath(2). Returns the resolved path.
Synchronous realpath(3). Returns the resolved path.

The optional `options` argument can be a string specifying an encoding, or an
object with an `encoding` property specifying the character encoding to use for
Expand Down

0 comments on commit 8ff2f94

Please sign in to comment.