Class DfsBundleWriter
- java.lang.Object
-
- org.eclipse.jgit.internal.storage.dfs.DfsBundleWriter
-
public class DfsBundleWriter extends Object
WritesDfsRepository
to a Git bundle.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
writeEntireRepositoryAsBundle(ProgressMonitor pm, OutputStream os, DfsRepository db)
Writes the entireDfsRepository
to a Git bundle.
-
-
-
Method Detail
-
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.
-
-