Class DfsBundleWriter

    • Method Detail

      • writeEntireRepositoryAsBundle

        public static void writeEntireRepositoryAsBundle​(ProgressMonitor pm,
                                                         OutputStream os,
                                                         DfsRepository db)
                                                  throws IOException
        Writes the entire 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.

        Parameters:
        pm - progress monitor
        os - Git bundle output
        db - repository
        Throws:
        IOException - thrown if the output stream throws one.