Package | Description |
---|---|
org.eclipse.jgit.diff |
Comparing file contents by computing diffs.
|
org.eclipse.jgit.internal.storage.reftree | |
org.eclipse.jgit.junit | |
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.pgm.opt | |
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 and 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 and Description |
---|---|
static RefTree |
RefTree.read(ObjectReader reader,
RevTree tree)
Load a reference tree.
|
Modifier and Type | Method and Description |
---|---|
RevTree |
TestRepository.tree(DirCacheEntry... entries)
Construct a tree from a specific listing of file entries.
|
Modifier and Type | Method and Description |
---|---|
RevCommit |
TestRepository.commit(int secDelta,
RevTree tree,
RevCommit... parents)
Create a new commit.
|
RevCommit |
TestRepository.commit(RevTree tree,
RevCommit... parents)
Create a new commit.
|
RevObject |
TestRepository.get(RevTree tree,
String path)
Lookup an entry stored in a tree, failing if not present.
|
Modifier and Type | Method and Description |
---|---|
void |
TreeFormatter.append(String name,
RevTree tree)
Add a subtree, mode is
FileMode.TREE . |
Modifier and Type | Field and Description |
---|---|
protected RevTree[] |
Merger.sourceTrees
The trees matching every entry in
Merger.sourceObjects . |
Modifier and Type | Method and 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 and Description |
---|---|
static NoteMap |
NoteMap.read(ObjectReader reader,
RevTree tree)
Load a collection of notes from a tree.
|
Constructor and Description |
---|
RevTreeHandler(org.kohsuke.args4j.CmdLineParser parser,
org.kohsuke.args4j.OptionDef option,
org.kohsuke.args4j.spi.Setter<? super RevTree> setter)
Create a new handler for the command name.
|
Modifier and Type | Method and 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 and Description |
---|---|
static TreeWalk |
TreeWalk.forPath(Repository db,
String path,
RevTree tree)
Open a tree walk and filter to exactly one path.
|
Copyright © 2019 Eclipse JGit Project. All rights reserved.