symlinkMetadata method

Future<Result<Metadata, PathIoError>> symlinkMetadata()

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

Implementation

Future<Result<io.Metadata, PathIoError>> symlinkMetadata() => isWindows
    ? WindowsPath(_string).symlinkMetadata()
    : UnixPath(_string).symlinkMetadata();