renameSync abstract method

Link renameSync(
  1. String newPath
)
override

Synchronously renames this link.

Returns a Link instance for the renamed link.

If newPath identifies an existing file or link, that entity is removed first. If newPath identifies an existing directory then FileSystemException is thrown.

Implementation

Link renameSync(String newPath);