Class MidxWriter

java.lang.Object
org.eclipse.jgit.internal.storage.file.MidxWriter

public class MidxWriter extends Object
Helper to write multipack indexes.
  • Constructor Details

    • MidxWriter

      public MidxWriter()
  • Method Details

    • writeMidx

      public static void writeMidx(ProgressMonitor pm, Repository repo, Collection<Pack> packs, File midxOut, PackConfig packConfig) throws IOException
      Write a mdix over the packs
      Parameters:
      pm - a progress monitor
      repo - the repository
      packs - packs to cover with the midx
      midxOut - file to write the resulting midx
      packConfig - config for the bitmap writing. Null to skip writing bitmaps.
      Throws:
      IOException - an error reading any of the input packs or indexes