Reads the target path of a symbolic link.
Example:
var link = new Path ("/tmp/link.txt");
var target = Files.readSymlink (link);
if (target != null) {
print ("Points to: %s\n", target.toString ());
}
| path |
path to the symbolic link. |
|
a Path for the symlink target, or null on error. |