readLinkSync method

Result<Path, IoError> readLinkSync()

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

Implementation

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