symlinkMetadata method

Future<Result<Metadata, IoError>> 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<Metadata, IoError>> symlinkMetadata() => Env.isWindows
    ? WindowsPath(_string).symlinkMetadata()
    : UnixPath(_string).symlinkMetadata();