Revert "doc: clarify fs.symlink and fs.symlinkSync parameters"

The offending doc change clarified nothing, but put the arguments to
fs.symlink() and fs.symlinkSync() in the wrong order.

This reverts commit 8146f2e607.

BUG: https://github.com/joyent/node/issues/8920
PR: https://github.com/joyent/node/pull/8936
This commit is contained in:
Bert Belder
2014-12-24 00:54:39 +01:00
parent 668bde8ac0
commit 5843ae8dfb

View File

@@ -208,7 +208,7 @@ the completion callback.
Synchronous link(2).
## fs.symlink(srcpath, dstpath[, type], callback)
## fs.symlink(destination, path[, type], callback)
Asynchronous symlink(2). No arguments other than a possible exception are given
to the completion callback.
@@ -217,7 +217,7 @@ is `'file'`) and is only available 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(srcpath, dstpath[, type])
## fs.symlinkSync(destination, path[, type])
Synchronous symlink(2).