Skip to content

Commit

Permalink
doc: update fs.realpath documentation
Browse files Browse the repository at this point in the history
PR-URL: #48170
Fixes: #45067
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
sinkhaha authored and targos committed May 11, 2024
1 parent a5d63f9 commit a6d624c
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 a6d624c

Please sign in to comment.