Skip to content

Commit

Permalink
doc: update fs.realpath documentation
Browse files Browse the repository at this point in the history
PR-URL: nodejs#48170
Fixes: nodejs#45067
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
sinkhaha authored May 11, 2024
1 parent 05a941f commit c4d0229
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c4d0229

Please sign in to comment.