Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ab7055b

Browse filesBrowse 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 <mscdex@mscdex.net> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 13e6608 commit ab7055b
Copy full SHA for ab7055b

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎doc/api/fs.md‎

Copy file name to clipboardExpand all lines: doc/api/fs.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.