class VerifyReftable extends TextBuiltin
TextBuiltin.TerminatedByHelpException| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
lsRemotePath |
private java.lang.String |
reftablePath |
private static long |
SEED1 |
private static long |
SEED2 |
| Constructor and Description |
|---|
VerifyReftable() |
| Modifier and Type | Method and Description |
|---|---|
private void |
byId(java.util.List<Ref> refs,
ReftableReader reader) |
private static java.util.Map<ObjectId,java.util.List<Ref>> |
groupById(java.util.List<Ref> refs) |
private static java.lang.String |
id(ObjectId id) |
protected void |
run()
Perform the actions of this command.
|
private void |
scan(java.util.List<Ref> refs,
ReftableReader reader) |
private void |
seek(java.util.List<Ref> refs,
ReftableReader reader) |
private void |
verify(Ref exp,
RefCursor rc) |
containsHelp, die, die, die, die, execute, getErrorWriter, getOutputWriter, getRepository, getResourceBundle, init, initRaw, parseArguments, printUsage, printUsageAndExit, printUsageAndExit, requiresRepositoryprivate static final long SEED1
private static final long SEED2
private java.lang.String lsRemotePath
private java.lang.String reftablePath
protected void run()
throws java.lang.Exception
This method should only be invoked by TextBuiltin.execute(String[]).
run in class TextBuiltinjava.lang.Exception - an error occurred while processing the command. The main
framework will catch the exception and print a message on
standard error.private void scan(java.util.List<Ref> refs, ReftableReader reader) throws java.io.IOException
java.io.IOExceptionprivate void seek(java.util.List<Ref> refs, ReftableReader reader) throws java.io.IOException
java.io.IOExceptionprivate void byId(java.util.List<Ref> refs, ReftableReader reader) throws java.io.IOException
java.io.IOExceptionprivate static java.util.Map<ObjectId,java.util.List<Ref>> groupById(java.util.List<Ref> refs)
private void verify(Ref exp, RefCursor rc) throws java.io.IOException
java.io.IOExceptionprivate static java.lang.String id(ObjectId id)