code: def _EntriesGenerator(self):
      
      location = getattr(self.path_spec, 'location', None)
      store_index = getattr(self.path_spec, 'store_index', None)
  
      # Only the virtual root file has directory entries.
      if (store_index is None and location is not None and
          location == self._file_system.LOCATION_ROOT):
        vshadow_volume = self._file_system.GetVShadowVolume()
  
        for store_index in range(0, vshadow_volume.number_of_stores):
          yield vshadow_path_spec.VShadowPathSpec(
              location='/vss{0:d}'.format(store_index + 1),
              store_index=store_index, parent=self.path_spec.parent)
docs: Retrieves directory entries.
  
      Since a directory can contain a vast number of entries using
      a generator is more memory efficient.
  
      Yields:
        VShadowPathSpec: a path specification.