java.lang.Object
org.eclipse.jgit.internal.storage.pack.PackBitmapCalculator
Helper to find out interesting commits, create their bitmaps and write them
into the PackBitmapIndexBuilder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcalculate(ObjectReader reader, ProgressMonitor pm, int numCommits, Set<? extends ObjectId> wants, Set<? extends ObjectId> excludeFromBitmapSelection, PackBitmapIndexBuilder writeBitmaps) Choose commits, create bitmaps and send them to the builder
-
Constructor Details
-
PackBitmapCalculator
Constructor- Parameters:
config- configuration
-
-
Method Details
-
calculate
public void calculate(ObjectReader reader, ProgressMonitor pm, int numCommits, Set<? extends ObjectId> wants, Set<? extends ObjectId> excludeFromBitmapSelection, PackBitmapIndexBuilder writeBitmaps) throws IOException Choose commits, create bitmaps and send them to the builder- Parameters:
reader- an object readerpm- a progress monitorwants- where to start walking looking for commits to bitmapnumCommits- expected number of new commits to include in the bitmapexcludeFromBitmapSelection- commits to ignorewriteBitmaps- store of newly created bitmaps- Throws:
IOException- an error
-