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 marco-ippolito committed Jun 17, 2024
1 parent baa6b55 commit 0f14c42
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 @@ -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
Expand Down

0 comments on commit 0f14c42

Please sign in to comment.