code: def _GetStat(self):
      
      stat_object = super(APFSFileEntry, self)._GetStat()
  
      # File data stat information.
      stat_object.size = self._fsapfs_file_entry.size
  
      # Ownership and permissions stat information.
      stat_object.mode = self._fsapfs_file_entry.file_mode & 0x0fff
      stat_object.uid = self._fsapfs_file_entry.owner_identifier
      stat_object.gid = self._fsapfs_file_entry.group_identifier
  
      # File entry type stat information.
      stat_object.type = self.entry_type
  
      # Other stat information.
      stat_object.ino = self._fsapfs_file_entry.identifier
      stat_object.fs_type = 'APFS'
  
      stat_object.is_allocated = True
  
      return stat_object
docs: Retrieves information about the file entry.
  
      Returns:
        VFSStat: a stat object.