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