A path to an existing file. If a URL is provided, it must use the file:
protocol.
A path to the new symlink. If a URL is provided, it must use the file:
protocol.
Optional
type: null | stringMay be set to 'dir'
, 'file'
, or 'junction'
(default is 'file'
) and is only available on Windows (ignored on other platforms).
When using 'junction'
, the target
argument will automatically be normalized to an absolute path.
Asynchronous symlink(2) - Create a new symbolic link to an existing file.