code: def _GetStat(self):
      
      stat_object = super(TARFileEntry, self)._GetStat()
  
      # File data stat information.
      stat_object.size = getattr(self._tar_info, 'size', None)
  
      # Ownership and permissions stat information.
      stat_object.mode = getattr(self._tar_info, 'mode', None)
      stat_object.uid = getattr(self._tar_info, 'uid', None)
      stat_object.gid = getattr(self._tar_info, 'gid', None)
  
      # TODO: implement support for:
      # stat_object.uname = getattr(self._tar_info, 'uname', None)
      # stat_object.gname = getattr(self._tar_info, 'gname', None)
  
      # File entry type stat information.
  
      # The root file entry is virtual and should have type directory.
  
      # TODO: determine if this covers all the types:
      # REGTYPE, AREGTYPE, LNKTYPE, SYMTYPE, DIRTYPE, FIFOTYPE, CONTTYPE,
      # CHRTYPE, BLKTYPE, GNUTYPE_SPARSE
  
      # Other stat information.
      # tar_info.pax_headers
  
      return stat_object
docs: Retrieves the stat object.
  
      Returns:
        VFSStat: stat object.