targetSync method

String targetSync ()

Synchronously gets the target of the link.

Returns the path to the target.

If the returned target is a relative path, it is relative to the directory containing the link.

If the link does not exist, or is not a link, throws a FileSystemException.

Implementation

String targetSync();

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-io/Link/targetSync.html