Package org.eclipse.jgit.pgm.debug
Class WriteReftable
java.lang.Object
org.eclipse.jgit.pgm.TextBuiltin
org.eclipse.jgit.pgm.debug.WriteReftable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.eclipse.jgit.pgm.TextBuiltin
TextBuiltin.TerminatedByHelpException -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static longmax(List<WriteReftable.LogEntry> log) private static longmin(List<WriteReftable.LogEntry> log) private static ObjectIdprivate voidprivate static List<WriteReftable.LogEntry>protected voidrun()Perform the actions of this command.Methods inherited from class org.eclipse.jgit.pgm.TextBuiltin
containsHelp, die, die, die, die, execute, getErrorWriter, getOutputWriter, getRepository, getResourceBundle, init, initRaw, parseArguments, printUsage, printUsageAndExit, printUsageAndExit, requiresRepository
-
Field Details
-
KIB
private static final int KIB- See Also:
-
MIB
private static final int MIB- See Also:
-
refBlockSize
private int refBlockSize -
logBlockSize
private int logBlockSize -
restartInterval
private int restartInterval -
indexLevels
private int indexLevels -
reflogIn
-
noIndexObjects
private boolean noIndexObjects -
in
-
out
-
-
Constructor Details
-
WriteReftable
WriteReftable()
-
-
Method Details
-
run
Perform the actions of this command.This method should only be invoked by
TextBuiltin.execute(String[]).- Specified by:
runin classTextBuiltin- Throws:
Exception- an error occurred while processing the command. The main framework will catch the exception and print a message on standard error.
-
printf
- Throws:
IOException
-
readRefs
- Throws:
IOException
-
readLog
private static List<WriteReftable.LogEntry> readLog(String logPath) throws FileNotFoundException, IOException - Throws:
FileNotFoundExceptionIOException
-
min
-
max
-
parseId
-