Example usage for Java org.eclipse.jgit.internal.storage.pack PackWriter fields, constructors, methods, implement or subclass
The text is from its open source code.
PackWriter(Repository repo, ObjectReader reader) Create writer for specified repository. | |
PackWriter(PackConfig config, ObjectReader reader) Create writer with a specified configuration. |
void | preparePack(ProgressMonitor countingMonitor, @NonNull Set extends ObjectId> want, @NonNull Set extends ObjectId> have) Prepare the list of objects to be written to the pack stream. |
void | setDeltaBaseAsOffset(boolean deltaBaseAsOffset) Set writer delta base format. |
void | setIndexDisabled(boolean noIndex) Whether to disable creation of the index file. |
void | setReuseValidatingObjects(boolean validate) Enable (or disable) object validation during packing. |
void | setTagTargets(Set Set the tag targets that should be hoisted earlier during packing. |
void | setThin(boolean packthin) Whether writer may pack objects with delta base object not within set of objects to pack |
void | writePack(ProgressMonitor compressMonitor, ProgressMonitor writeMonitor, OutputStream packStream) Write the prepared pack to the supplied stream. |