update abstract method

Future<Link> update(
  1. String target
)

Updates an existing link.

Deletes the existing link at path and creates a new link to target, using create.

Returns a future which completes with this Link if successful, and with a PathNotFoundException if there is no existing link at path, or with any FileSystemException that delete or create can throw.

Implementation

Future<Link> update(String target);