mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
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:
1 parent
8d628c3255
commit
585f2a2e7f
1 file changed
+3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user