Skip to content

Commit 8146f2e

Browse files
IvanTorresEdgebnoordhuis
authored andcommitted
doc: clarify fs.symlink and fs.symlinkSync parameters
1 parent 71078f9 commit 8146f2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/fs.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ the completion callback.
176176

177177
Synchronous link(2).
178178

179-
## fs.symlink(destination, path, [type], [callback])
179+
## fs.symlink(srcpath, dstpath, [type], [callback])
180180

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

188-
## fs.symlinkSync(destination, path, [type])
188+
## fs.symlinkSync(srcpath, dstpath, [type])
189189

190190
Synchronous symlink(2).
191191

0 commit comments

Comments
 (0)