Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
doc: update fs.realpath documentation
  • Loading branch information
sinkhaha committed May 25, 2023
commit 77d54fe4545abd1a20ba21a9d8e3798501753bad
3 changes: 3 additions & 0 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -3892,6 +3892,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.

If a path that does not exist is used, it will result in an ENOENT error,
the `error.path` will be the absolute path of the path parameter.
Comment thread
Trott marked this conversation as resolved.
Outdated

### `fs.realpath.native(path[, options], callback)`

<!-- YAML
Expand Down