method
updateSync

void updateSync(
String target
)

Synchronously updates the link. Calling updateSync on a non-existing link will throw an exception.

On the Windows platform, this will only work with directories, and the target directory must exist.