'Yield entries summarizing the contents of this pack.
:param progress: Progress function, called with current and total
object count.
:return: iterator of tuples with (sha, offset, crc32)'

def iterentries(self, progress=None):

    num_objects = self._num_objects
    resolve_ext_ref = (self.pack.resolve_ext_ref if (self.pack is not None) else None)
    indexer = PackIndexer.for_pack_data(self, resolve_ext_ref=resolve_ext_ref)
    for (i, result) in enumerate(indexer):
        if (progress is not None):
            progress(i, num_objects)
        (yield result)
