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