Skip to content

Commit

Permalink
doc: clarify fs.symlink and fs.symlinkSync parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanTorresEdge authored and bnoordhuis committed Jul 10, 2012
1 parent 71078f9 commit 8146f2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/fs.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ the completion callback.

Synchronous link(2).

## fs.symlink(destination, path, [type], [callback])
## fs.symlink(srcpath, dstpath, [type], [callback])

Asynchronous symlink(2). No arguments other than a possible exception are given
to the completion callback.
Expand All @@ -185,7 +185,7 @@ used on Windows (ignored on other platforms).
Note that Windows junction points require the destination path to be absolute. When using
`'junction'`, the `destination` argument will automatically be normalized to absolute path.

## fs.symlinkSync(destination, path, [type])
## fs.symlinkSync(srcpath, dstpath, [type])

Synchronous symlink(2).

Expand Down

0 comments on commit 8146f2e

Please sign in to comment.