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:
parent
05a941f3f2
commit
c4d0229486
@ -4115,6 +4115,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user