Package | Description |
---|---|
org.eclipse.jgit.diff |
Comparing file contents by computing diffs.
|
org.eclipse.jgit.errors |
Exceptions thrown by lower-level JGit APIs.
|
org.eclipse.jgit.internal.storage.dfs |
Distributed file system based repository storage.
|
org.eclipse.jgit.internal.storage.file |
File based repository storage.
|
org.eclipse.jgit.lib |
Core API for repository, config, refs, object database.
|
org.eclipse.jgit.notes |
Git notes processing (for commits, etc).
|
org.eclipse.jgit.patch |
Patch file parser and data structure.
|
Modifier and Type | Field and Description |
---|---|
(package private) static AbbreviatedObjectId |
DiffEntry.A_ZERO
Magical SHA1 used for file adds or deletes
|
protected AbbreviatedObjectId |
DiffEntry.newId
ObjectId listed on the index line for the new (post-image)
|
protected AbbreviatedObjectId |
DiffEntry.oldId
ObjectId listed on the index line for the old (pre-image)
|
Modifier and Type | Method and Description |
---|---|
AbbreviatedObjectId |
DiffEntry.getId(DiffEntry.Side side)
Get the object id.
|
AbbreviatedObjectId |
DiffEntry.getNewId()
Get the new object id from the
index . |
AbbreviatedObjectId |
DiffEntry.getOldId()
Get the old object id from the
index . |
private static AbbreviatedObjectId |
RenameDetector.id(DiffEntry de) |
Modifier and Type | Method and Description |
---|---|
private java.util.HashMap<AbbreviatedObjectId,java.lang.Object> |
RenameDetector.populateMap(java.util.List<DiffEntry> diffEntries,
ProgressMonitor pm) |
Modifier and Type | Method and Description |
---|---|
private java.lang.String |
DiffFormatter.format(AbbreviatedObjectId id) |
private static byte[] |
DiffFormatter.writeGitLinkText(AbbreviatedObjectId id) |
Modifier and Type | Field and Description |
---|---|
private AbbreviatedObjectId |
AmbiguousObjectException.missing |
Modifier and Type | Method and Description |
---|---|
AbbreviatedObjectId |
AmbiguousObjectException.getAbbreviatedObjectId()
Get the
AbbreviatedObjectId that has more than one result |
Constructor and Description |
---|
AmbiguousObjectException(AbbreviatedObjectId id,
java.util.Collection<ObjectId> candidates)
Construct a MissingObjectException for the specified object id.
|
MissingObjectException(AbbreviatedObjectId id,
int type)
Construct a MissingObjectException for the specified object id.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ObjectId> |
DfsInserter.Reader.resolve(AbbreviatedObjectId id) |
java.util.Collection<ObjectId> |
DfsReader.resolve(AbbreviatedObjectId id)
Resolve an abbreviated ObjectId to its full form.
|
(package private) void |
DfsPackFile.resolve(DfsReader ctx,
java.util.Set<ObjectId> matches,
AbbreviatedObjectId id,
int matchLimit) |
private void |
DfsReader.resolveImpl(DfsObjDatabase.PackList packList,
AbbreviatedObjectId id,
java.util.HashSet<ObjectId> matches) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ObjectId> |
WindowCursor.resolve(AbbreviatedObjectId id)
Resolve an abbreviated ObjectId to its full form.
|
java.util.Collection<ObjectId> |
PackInserter.Reader.resolve(AbbreviatedObjectId id) |
(package private) void |
ObjectDirectory.resolve(java.util.Set<ObjectId> matches,
AbbreviatedObjectId id) |
(package private) abstract void |
FileObjectDatabase.resolve(java.util.Set<ObjectId> matches,
AbbreviatedObjectId id) |
(package private) void |
CachedObjectDirectory.resolve(java.util.Set<ObjectId> matches,
AbbreviatedObjectId id) |
(package private) void |
PackFile.resolve(java.util.Set<ObjectId> matches,
AbbreviatedObjectId id,
int matchLimit) |
void |
PackIndexV2.resolve(java.util.Set<ObjectId> matches,
AbbreviatedObjectId id,
int matchLimit)
Find objects matching the prefix abbreviation.
|
abstract void |
PackIndex.resolve(java.util.Set<ObjectId> matches,
AbbreviatedObjectId id,
int matchLimit)
Find objects matching the prefix abbreviation.
|
void |
PackIndexV1.resolve(java.util.Set<ObjectId> matches,
AbbreviatedObjectId id,
int matchLimit)
Find objects matching the prefix abbreviation.
|
private void |
ObjectDirectory.resolve(java.util.Set<ObjectId> matches,
AbbreviatedObjectId id,
java.util.Set<ObjectDirectory.AlternateHandle.Id> skips) |
Modifier and Type | Field and Description |
---|---|
(package private) AbbreviatedObjectId |
RebaseTodoLine.commit |
Modifier and Type | Method and Description |
---|---|
AbbreviatedObjectId |
ObjectReader.abbreviate(AnyObjectId objectId)
Obtain a unique abbreviation (prefix) of an object SHA-1.
|
AbbreviatedObjectId |
ObjectReader.Filter.abbreviate(AnyObjectId objectId) |
AbbreviatedObjectId |
ObjectReader.abbreviate(AnyObjectId objectId,
int len)
Obtain a unique abbreviation (prefix) of an object SHA-1.
|
AbbreviatedObjectId |
ObjectReader.Filter.abbreviate(AnyObjectId objectId,
int len) |
AbbreviatedObjectId |
AnyObjectId.abbreviate(int len)
Return an abbreviation (prefix) of this object SHA-1.
|
private static AbbreviatedObjectId |
AbbreviatedObjectId.fromHexString(byte[] bs,
int ptr,
int end) |
static AbbreviatedObjectId |
AbbreviatedObjectId.fromObjectId(AnyObjectId id)
Convert an AbbreviatedObjectId from an
AnyObjectId . |
static AbbreviatedObjectId |
AbbreviatedObjectId.fromString(byte[] buf,
int offset,
int end)
Convert an AbbreviatedObjectId from hex characters (US-ASCII).
|
static AbbreviatedObjectId |
AbbreviatedObjectId.fromString(java.lang.String str)
Convert an AbbreviatedObjectId from hex characters.
|
AbbreviatedObjectId |
RebaseTodoLine.getCommit()
Get abbreviated commit SHA-1 of commit that action will be performed on
|
Modifier and Type | Method and Description |
---|---|
abstract java.util.Collection<ObjectId> |
ObjectReader.resolve(AbbreviatedObjectId id)
Resolve an abbreviated ObjectId to its full form.
|
java.util.Collection<ObjectId> |
ObjectReader.Filter.resolve(AbbreviatedObjectId id) |
boolean |
AnyObjectId.startsWith(AbbreviatedObjectId abbr)
Tests if this ObjectId starts with the given abbreviation.
|
Constructor and Description |
---|
RebaseTodoLine(RebaseTodoLine.Action action,
AbbreviatedObjectId commit,
java.lang.String shortMessage)
Create a new non-comment line
|
Modifier and Type | Method and Description |
---|---|
(package private) static InMemoryNoteBucket |
NoteParser.parse(AbbreviatedObjectId prefix,
ObjectId treeId,
ObjectReader reader)
Parse a tree object into a
NoteBucket instance. |
Constructor and Description |
---|
NoteParser(AbbreviatedObjectId prefix,
ObjectReader r,
ObjectId t) |
Modifier and Type | Field and Description |
---|---|
private AbbreviatedObjectId[] |
CombinedFileHeader.oldIds |
Modifier and Type | Method and Description |
---|---|
abstract AbbreviatedObjectId |
HunkHeader.OldImage.getId() |
AbbreviatedObjectId |
CombinedFileHeader.getOldId()
Get the old object id from the
index . |
AbbreviatedObjectId |
CombinedFileHeader.getOldId(int nthParent)
Get the ObjectId of the nth ancestor
|