Skip to content

Commit 585f2a2

Browse files
sinkhahamarco-ippolito
authored andcommittedJun 17, 2024
doc: update fs.realpath documentation
PR-URL: #48170 Fixes: #45067 Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 8d628c3 commit 585f2a2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎doc/api/fs.md

+3
Original file line numberDiff line numberDiff line change
@@ -3987,6 +3987,9 @@ the path returned will be passed as a {Buffer} object.
39873987
If `path` resolves to a socket or a pipe, the function will return a system
39883988
dependent name for that object.
39893989
3990+
A path that does not exist results in an ENOENT error.
3991+
`error.path` is the absolute file path.
3992+
39903993
### `fs.realpath.native(path[, options], callback)`
39913994
39923995
<!-- YAML

0 commit comments

Comments
 (0)
Please sign in to comment.