public class DfsBundleWriter extends Object
DfsRepository
to a Git bundle.Modifier and Type | Method and Description |
---|---|
static void |
writeEntireRepositoryAsBundle(ProgressMonitor pm,
OutputStream os,
DfsRepository db)
Writes the entire
DfsRepository to a Git bundle. |
public static void writeEntireRepositoryAsBundle(ProgressMonitor pm, OutputStream os, DfsRepository db) throws IOException
DfsRepository
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.
pm
- progress monitoros
- Git bundle outputdb
- repositoryIOException
- thrown if the output stream throws one.Copyright © 2020 Eclipse JGit Project. All rights reserved.