Module org.eclipse.jgit
Class PackObjectSizeIndexHelper
java.lang.Object
org.eclipse.jgit.internal.storage.file.PackObjectSizeIndexHelper
A wrapper to write the object size index for existing packs (on disk)
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidAdd an object size index to all the packs without one in this object database.
-
Method Details
-
forAllPacks
Add an object size index to all the packs without one in this object database.- Parameters:
db- object db for packspm- progress monitor for the object listing phase (adding size to the objects in index)- Throws:
IOException- an error reading the packs or writing the object size index file
-