Package | Description |
---|---|
org.eclipse.jgit.diff | |
org.eclipse.jgit.errors | |
org.eclipse.jgit.lib | |
org.eclipse.jgit.patch | |
org.eclipse.jgit.storage.file |
Modifier and Type | Field and Description |
---|---|
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 . |
Modifier and Type | Method and Description |
---|---|
AbbreviatedObjectId |
AmbiguousObjectException.getAbbreviatedObjectId() |
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 |
---|---|
AbbreviatedObjectId |
ObjectReader.abbreviate(AnyObjectId objectId)
Obtain a unique abbreviation (prefix) of an object SHA-1.
|
AbbreviatedObjectId |
ObjectReader.abbreviate(AnyObjectId objectId,
int len)
Obtain a unique abbreviation (prefix) of an object SHA-1.
|
AbbreviatedObjectId |
AnyObjectId.abbreviate(int len)
Return an abbreviation (prefix) of this object SHA-1.
|
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.
|
Modifier and Type | Method and Description |
---|---|
abstract java.util.Collection<ObjectId> |
ObjectReader.resolve(AbbreviatedObjectId id)
Resolve an abbreviated ObjectId to its full form.
|
boolean |
AnyObjectId.startsWith(AbbreviatedObjectId abbr)
Tests if this ObjectId starts with the given abbreviation.
|
Modifier and Type | Method and Description |
---|---|
abstract AbbreviatedObjectId |
HunkHeader.OldImage.getId() |
AbbreviatedObjectId |
CombinedFileHeader.getOldId() |
AbbreviatedObjectId |
CombinedFileHeader.getOldId(int nthParent)
Get the ObjectId of the nth ancestor
|
Modifier and Type | Method and Description |
---|---|
abstract void |
PackIndex.resolve(java.util.Set<ObjectId> matches,
AbbreviatedObjectId id,
int matchLimit)
Find objects matching the prefix abbreviation.
|
Copyright © 2012. All Rights Reserved.