Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
org.eclipse.jgit.lib |
Core API for repository, config, refs, object database.
|
org.eclipse.jgit.merge |
Content and commit history merge algorithms.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
CleanCommand.call() |
Status |
StatusCommand.call() |
Modifier and Type | Method and Description |
---|---|
File |
Repository.getIndexFile()
Get the index file location or
null if repository isn't local. |
File |
Repository.getWorkTree()
Get the root directory of the working tree, where files are checked out
for viewing and editing.
|
DirCache |
Repository.lockDirCache()
Create a new in-core index representation, lock it, and read from disk.
|
ObjectId |
Repository.readCherryPickHead()
Return the information stored in the file $GIT_DIR/CHERRY_PICK_HEAD.
|
String |
Repository.readCommitEditMsg()
Return the information stored in the file $GIT_DIR/COMMIT_EDITMSG.
|
DirCache |
Repository.readDirCache()
Create a new in-core index representation and read an index from disk.
|
String |
Repository.readMergeCommitMsg()
Return the information stored in the file $GIT_DIR/MERGE_MSG.
|
List<ObjectId> |
Repository.readMergeHeads()
Return the information stored in the file $GIT_DIR/MERGE_HEAD.
|
ObjectId |
Repository.readOrigHead()
Return the information stored in the file $GIT_DIR/ORIG_HEAD.
|
ObjectId |
Repository.readRevertHead()
Return the information stored in the file $GIT_DIR/REVERT_HEAD.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ResolveMerger.cleanUp()
Reverts the worktree after an unsuccessful merge.
|
Copyright © 2018 Eclipse JGit Project. All rights reserved.