mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
doc: clarify fs.symlink and fs.symlinkSync parameters
This commit is contained in:
committed by
Ben Noordhuis
parent
71078f91ed
commit
8146f2e607
@@ -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.
|
||||
@@ -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).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user