Top Fields Constructors Methods
org.eclipse.jgit.pgm.debug

pack-priv Class VerifyReftable

extends TextBuiltin
Class Inheritance
Annotations
@Command
Imports
java.io.FileInputStream, .IOException, java.util.ArrayList, .Collections, .HashMap, .List, .Map, .Random, org.eclipse.jgit.internal.storage.io.BlockSource, org.eclipse.jgit.internal.storage.reftable.RefCursor, .ReftableReader, org.eclipse.jgit.lib.AnyObjectId, .ObjectId, .Ref, .RefComparator, .TextProgressMonitor, org.eclipse.jgit.pgm.Command, .TextBuiltin, org.kohsuke.args4j.Argument

Field Summary

Modifier and TypeField and Description
private String
private String
private static final long
private static final long
Inherited from org.eclipse.jgit.pgm.TextBuiltin:
argWalkdberrserrwgitdirinsoutsoutw

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private void
byId(List<Ref> refs, ReftableReader reader)

private static Map<ObjectId, List<Ref>>
private static String
protected void
run()

Implements abstract org.eclipse.jgit.pgm.TextBuiltin.run.

Perform the actions of this command.

private void
scan(List<Ref> refs, ReftableReader reader)

private void
seek(List<Ref> refs, ReftableReader reader)

private void
verify(Ref exp, RefCursor rc)

Inherited from org.eclipse.jgit.pgm.TextBuiltin:
containsHelpdiediediedieexecutegetErrorWritergetOutputWritergetRepositorygetResourceBundleinitinitRawparseArgumentsprintUsageprintUsageAndExitprintUsageAndExitrequiresRepository

Field Detail

lsRemotePathback to summary
private String lsRemotePath
Annotations
@Argument
index:0
reftablePathback to summary
private String reftablePath
Annotations
@Argument
index:1
SEED1back to summary
private static final long SEED1
SEED2back to summary
private static final long SEED2

Constructor Detail

VerifyReftableback to summary
pack-priv VerifyReftable()

Method Detail

byIdback to summary
private void byId(List<Ref> refs, ReftableReader reader) throws IOException
Annotations
@SuppressWarnings:nls
groupByIdback to summary
private static Map<ObjectId, List<Ref>> groupById(List<Ref> refs)
idback to summary
private static String id(ObjectId id)
Annotations
@SuppressWarnings:nls
runback to summary
protected void run() throws Exception

Implements abstract org.eclipse.jgit.pgm.TextBuiltin.run.

Doc from org.eclipse.jgit.pgm.TextBuiltin.run.

Perform the actions of this command.

This method should only be invoked by execute(String[]).

Annotations
@Override
Exceptions
Exception:
an error occurred while processing the command. The main framework will catch the exception and print a message on standard error.
scanback to summary
private void scan(List<Ref> refs, ReftableReader reader) throws IOException
Annotations
@SuppressWarnings:nls
seekback to summary
private void seek(List<Ref> refs, ReftableReader reader) throws IOException
Annotations
@SuppressWarnings:nls
verifyback to summary
private void verify(Ref exp, RefCursor rc) throws IOException
Annotations
@SuppressWarnings:nls