Class DfsBundleWriter
java.lang.Object
org.eclipse.jgit.internal.storage.dfs.DfsBundleWriter
Writes
DfsRepository
to a Git bundle.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DfsBundleWriter
private DfsBundleWriter()
-
-
Method Details
-
writeEntireRepositoryAsBundle
public static void writeEntireRepositoryAsBundle(ProgressMonitor pm, OutputStream os, DfsRepository db) throws IOException Writes the entireDfsRepository
to a Git bundle.This method try to avoid traversing the pack files as much as possible and dumps all objects as-is to a Git bundle.
- Parameters:
pm
- progress monitoros
- Git bundle outputdb
- repository- Throws:
IOException
- thrown if the output stream throws one.
-