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.patch |
Patch file parser and data structure.
|
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()
Get the
AbbreviatedObjectId that has more than one result |
Constructor and Description |
---|
AmbiguousObjectException(AbbreviatedObjectId id,
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 |
---|---|
Collection<ObjectId> |
DfsReader.resolve(AbbreviatedObjectId id)
Resolve an abbreviated ObjectId to its full form.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
PackIndex.resolve(Set<ObjectId> matches,
AbbreviatedObjectId id,
int matchLimit)
Find objects matching the prefix abbreviation.
|
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.
|
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(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 Collection<ObjectId> |
ObjectReader.resolve(AbbreviatedObjectId id)
Resolve an abbreviated ObjectId to its full form.
|
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,
String shortMessage)
Create a new non-comment line
|
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
|
Copyright © 2018 Eclipse JGit Project. All rights reserved.