Package | Description |
---|---|
org.eclipse.jgit.diff |
Comparing file contents by computing diffs.
|
org.eclipse.jgit.lib |
Core API for repository, config, refs, object database.
|
org.eclipse.jgit.merge |
Content and commit history merge algorithms.
|
org.eclipse.jgit.notes |
Git notes processing (for commits, etc).
|
org.eclipse.jgit.revwalk |
Walking revision graphs (commit history).
|
org.eclipse.jgit.treewalk |
Walking and comparing directory/file trees (of commits, file system).
|
Modifier and Type | Method | Description |
---|---|---|
void |
DiffFormatter.format(RevTree a,
RevTree b) |
Format the differences between two trees.
|
List<DiffEntry> |
DiffFormatter.scan(RevTree a,
RevTree b) |
Determine the differences between two trees.
|
Modifier and Type | Method | Description |
---|---|---|
void |
TreeFormatter.append(String name,
RevTree tree) |
Add a subtree, mode is
FileMode.TREE . |
Modifier and Type | Field | Description |
---|---|---|
protected RevTree[] |
Merger.sourceTrees |
The trees matching every entry in
Merger.sourceObjects . |
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
ResolveMerger.mergeTrees(AbstractTreeIterator baseTree,
RevTree headTree,
RevTree mergeTree,
boolean ignoreConflicts) |
The resolve conflict way of three way merging
|
Modifier and Type | Method | Description |
---|---|---|
static NoteMap |
NoteMap.read(ObjectReader reader,
RevTree tree) |
Load a collection of notes from a tree.
|
Modifier and Type | Method | Description |
---|---|---|
RevTree |
RevCommit.getTree() |
Get a reference to this commit's tree.
|
RevTree |
RevWalk.lookupTree(AnyObjectId id) |
Locate a reference to a tree without loading it.
|
RevTree |
RevWalk.parseTree(AnyObjectId id) |
Locate a reference to a tree.
|
Modifier and Type | Method | Description |
---|---|---|
static TreeWalk |
TreeWalk.forPath(Repository db,
String path,
RevTree tree) |
Open a tree walk and filter to exactly one path.
|
Copyright © 2018. All rights reserved.