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
Prev Previous commit
Next Next commit
Update doc/api/fs.md
Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl>
  • Loading branch information
Trott and bnoordhuis authored May 27, 2023
commit fbb0d61e2f69f59b6ab653ba899b42e9387a881f
4 changes: 2 additions & 2 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -3892,8 +3892,8 @@ 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.
A path that does not exist results in an ENOENT error.
Comment thread
sinkhaha marked this conversation as resolved.
Outdated
`error.path` is the absolute file path.

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

Expand Down