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(string) as Future<Result<Path, IoError>>;