Skip to content

Commit ab7055b

Browse files
phette23Fishrock123
authored andcommitted
doc: fix fs.realpath man pg links
There is no realpath(2), only in sections 1 & 3 causes broken link on nodejs.org/api/ docs PR-URL: #6451 Reviewed-By: Brian White <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 13e6608 commit ab7055b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/fs.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,7 @@ Synchronous version of [`fs.read()`][]. Returns the number of `bytesRead`.
962962
* `encoding` {String} default = `'utf8'`
963963
* `callback` {Function}
964964

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

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

979-
Synchronous realpath(2). Returns the resolved path.
979+
Synchronous realpath(3). Returns the resolved path.
980980

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

0 commit comments

Comments
 (0)