code: def _GetLink(self):
      
      if self._link is None:
        self._link = ''
  
        if self.entry_type != definitions.FILE_ENTRY_TYPE_LINK:
          return self._link
  
        # Note that the SleuthKit does not expose NTFS
        # IO_REPARSE_TAG_MOUNT_POINT or IO_REPARSE_TAG_SYMLINK as a link.
        link = getattr(self._tsk_file.info.meta, 'link', None)
  
        if link is None:
          return self._link
  
        try:
          # pytsk3 returns an UTF-8 encoded byte string without a leading
          # path segment separator.
          link = '{0:s}{1:s}'.format(
              self._file_system.PATH_SEPARATOR, link.decode('utf8'))
        except UnicodeError:
          raise errors.BackEndError(
              'pytsk3 returned a non UTF-8 formatted link.')
  
        self._link = link
  
      return self._link
docs: Retrieves the link.
  
      Returns:
        str: path of the linked file.