readLink method

Future<Result<Path, IoError>> readLink()

Reads a symbolic link, returning the file that the link points to.

Implementation

Future<Result<Path, IoError>> readLink() =>
    platform.readLink(path) as Future<Result<Path, IoError>>;