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 | 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 | 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 | Description |
---|---|---|
AbbreviatedObjectId |
AmbiguousObjectException.getAbbreviatedObjectId() |
Constructor | 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 | Description |
---|---|---|
Collection<ObjectId> |
DfsReader.resolve(AbbreviatedObjectId id) |
Modifier and Type | Method | Description |
---|---|---|
abstract void |
PackIndex.resolve(Set<ObjectId> matches,
AbbreviatedObjectId id,
int matchLimit) |
Find objects matching the prefix abbreviation.
|
Modifier and Type | Method | Description |
---|---|---|
AbbreviatedObjectId |
AnyObjectId.abbreviate(int len) |
Return an abbreviation (prefix) of this object SHA-1.
|
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.
|
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() |
Modifier and Type | Method | Description |
---|---|---|
abstract 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.
|
Constructor | Description |
---|---|
RebaseTodoLine(RebaseTodoLine.Action action,
AbbreviatedObjectId commit,
String shortMessage) |
Create a new non-comment line
|
Modifier and Type | Method | Description |
---|---|---|
abstract AbbreviatedObjectId |
HunkHeader.OldImage.getId() |
|
AbbreviatedObjectId |
CombinedFileHeader.getOldId() |
|
AbbreviatedObjectId |
CombinedFileHeader.getOldId(int nthParent) |
Get the ObjectId of the nth ancestor
|
Copyright © 2018. All rights reserved.