def readlink(self, path):
path = self._adjust_cwd(path)<EOL>self._log(DEBUG, "<STR_LIT>".format(path))<EOL>t, msg = self._request(CMD_READLINK, path)<EOL>if t != CMD_NAME:<EOL><INDENT>raise SFTPError("<STR_LIT>")<EOL><DEDENT>count = msg.get_int()<EOL>if count == <NUM_LIT:0>:<EOL><INDENT>return None<EOL><DEDENT>if count != <NUM_LIT:1>:<EOL><INDENT>raise SFTPError("<STR_LIT>".format(count))<EOL><DEDENT>return _to_unicode(msg.get_string())<EOL>
Return the target of a symbolic link (shortcut).  You can use
`symlink` to create these.  The result may be either an absolute or
relative pathname.

:param str path: path of the symbolic link file
:return: target path, as a `str`