doc: update fs.realpath documentation

PR-URL: https://github.com/nodejs/node/pull/48170
Fixes: https://github.com/nodejs/node/issues/45067
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
sinkhaha authored and Marco Ippolito committed 2024-06-17 16:25:21 +02:00
1 parent 8d628c3255
commit 585f2a2e7f
1 file changed
+3
+3
View File
@@ -3987,6 +3987,9 @@ the path returned will be passed as a {Buffer} object.
If `path` resolves to a socket or a pipe, the function will return a system
dependent name for that object.
A path that does not exist results in an ENOENT error.
`error.path` is the absolute file path.
### `fs.realpath.native(path[, options], callback)`
<!-- YAML