rename abstract method

Future<Link> rename(
  1. String newPath
)
override

Renames this link.

Returns a Future<Link> that completes with a Link for the renamed link.

If newPath identifies an existing file or link, that entity is removed first. If newPath identifies an existing directory then the future completes with a FileSystemException.

Implementation

Future<Link> rename(String newPath);