code: def _GetStat(self):
      
      stat_object = super(TSKPartitionFileEntry, self)._GetStat()
  
      bytes_per_sector = tsk_partition.TSKVolumeGetBytesPerSector(
          self._tsk_volume)
  
      # File data stat information.
      if self._tsk_vs_part is not None:
        number_of_sectors = tsk_partition.TSKVsPartGetNumberOfSectors(
            self._tsk_vs_part)
  
        if number_of_sectors:
          stat_object.size = number_of_sectors * bytes_per_sector
  
      # Date and time stat information.
  
      # Ownership and permissions stat information.
  
      # File entry type stat information.
  
      # The root file entry is virtual and should have type directory.
      if not self._is_virtual:
        stat_object.is_allocated = tsk_partition.TSKVsPartIsAllocated(
            self._tsk_vs_part)
  
      return stat_object
docs: Retrieves the stat object.
  
      Returns:
        VFSStat: stat object.