Skip to content

Commit

Permalink
doc: document the cache parameter for fs.realpathSync
Browse files Browse the repository at this point in the history
PR-URL: #4285
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
JacksonTian authored and Myles Borins committed Jan 19, 2016
1 parent 73e7811 commit 764df21
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/api/fs.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,9 @@ Synchronous version of [`fs.read()`][]. Returns the number of `bytesRead`.

## fs.realpathSync(path[, cache])

Synchronous realpath(2). Returns the resolved path.
Synchronous realpath(2). Returns the resolved path. `cache` is an
object literal of mapped paths that can be used to force a specific path
resolution or avoid additional `fs.stat` calls for known real paths.

## fs.rename(oldPath, newPath, callback)

Expand Down

0 comments on commit 764df21

Please sign in to comment.