symlinkMetadataSync method

Result<Metadata, IoError> symlinkMetadataSync()

Returns the metadata for the symlink. Note: using this method means that the program can no longer compile for the web.

Implementation

Result<Metadata, IoError> symlinkMetadataSync() => Env.isWindows
    ? WindowsPath(_string).symlinkMetadataSync()
    : UnixPath(_string).symlinkMetadataSync();