Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

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

Closed
wants to merge 1 commit into from

Conversation

piscisaureus
Copy link

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

This patch should be applied to v0.10 too.

See also #8920

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

This reverts commit 8146f2e.

BUG: nodejs#8920
piscisaureus added a commit to nodejs/node that referenced this pull request Jan 27, 2015
The offending doc change clarified nothing, but put the arguments to
fs.symlink() and fs.symlinkSync() in the wrong order.

This reverts commit 8146f2e.

BUG: nodejs/node-v0.x-archive#8920
PR: nodejs/node-v0.x-archive#8936
@schnittstabil
Copy link

I think this won't help, destination and path aren't better.

In addition this PR would introduce a new inconsistency:

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants