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 a6d624c

Browse filesBrowse files
sinkhahatargos
authored andcommitted
doc: update fs.realpath documentation
PR-URL: #48170 Fixes: #45067 Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent a5d63f9 commit a6d624c
Copy full SHA for a6d624c

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+3
-0
lines changed
Open diff view settings
Collapse file

‎doc/api/fs.md‎

Copy file name to clipboardExpand all lines: doc/api/fs.md
+3Lines changed: 3 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -4115,6 +4115,9 @@ the path returned will be passed as a {Buffer} object.
41154115
If `path` resolves to a socket or a pipe, the function will return a system
41164116
dependent name for that object.
41174117
4118+
A path that does not exist results in an ENOENT error.
4119+
`error.path` is the absolute file path.
4120+
41184121
### `fs.realpath.native(path[, options], callback)`
41194122
41204123
<!-- YAML

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.