Java org.eclipse.jgit.internal.storage.pack PackWriter fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jgit.internal.storage.pack PackWriter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jgit.internal.storage.pack PackWriter.

The text is from its open source code.

Constructor

PackWriter(Repository repo, ObjectReader reader)
Create writer for specified repository.
PackWriter(PackConfig config, ObjectReader reader)
Create writer with a specified configuration.

Method

voidpreparePack(ProgressMonitor countingMonitor, @NonNull Set want, @NonNull Set have)
Prepare the list of objects to be written to the pack stream.
voidsetDeltaBaseAsOffset(boolean deltaBaseAsOffset)
Set writer delta base format.
voidsetIndexDisabled(boolean noIndex)
Whether to disable creation of the index file.
voidsetReuseValidatingObjects(boolean validate)
Enable (or disable) object validation during packing.
voidsetTagTargets(Set objects)
Set the tag targets that should be hoisted earlier during packing.
voidsetThin(boolean packthin)
Whether writer may pack objects with delta base object not within set of objects to pack
voidwritePack(ProgressMonitor compressMonitor, ProgressMonitor writeMonitor, OutputStream packStream)
Write the prepared pack to the supplied stream.