createSymlink

open override fun createSymlink(source: Path, target: Path)

Creates a symbolic link at source that resolves to target. If target is a relative path, it is relative to source.parent.

Throws

if source cannot be created. This may be because it already exists or because its storage doesn't support symlinks. This list of potential problems is not exhaustive.