Class MidxMetadataReader

java.lang.Object
org.eclipse.jgit.internal.storage.midx.MidxMetadataReader

public class MidxMetadataReader extends Object
Read only basic metadata from the midx without loading the whole file in memory.

In some cases we need only a bit of information from the midx and we do not need it yet fully loaded in memory. For example:

  • We need the checksum of the previous midx to delete its bitmaps
  • When opening the repo, we need the names of packs referenced by the midx to check they exist