createSymbolicLinkPointingTo
inline fun Path.createSymbolicLinkPointingTo(target: Path, vararg attributes: FileAttribute<*>): Path(source)
Creates a new symbolic link located by this path to the given target.
Calling this function may require the process to be started with implementation specific privileges to create symbolic links.
Since Kotlin
1.5See also
Throws
if a file with this name already exists (optional specific exception, some implementations may throw a more general one).
if the implementation does not support symbolic links or the attributes array contains an attribute that cannot be set atomically when creating the symbolic link.