readLinkSync method

Result<UnixPath, PathIoError> readLinkSync()

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

Implementation

Result<UnixPath, PathIoError> readLinkSync() =>
    io.readLinkSync(_string) as Result<UnixPath, PathIoError>;