Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
org.eclipse.jgit.attributes |
Support for reading .gitattributes.
|
org.eclipse.jgit.blame |
Computing blame/annotate information of files.
|
org.eclipse.jgit.diff |
Comparing file contents by computing diffs.
|
org.eclipse.jgit.dircache |
Reading and editing the directory cache (index).
|
org.eclipse.jgit.lfs.lib | |
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.pgm | |
org.eclipse.jgit.pgm.debug | |
org.eclipse.jgit.revwalk |
Walking revision graphs (commit history).
|
org.eclipse.jgit.submodule |
Git submodule support.
|
org.eclipse.jgit.transport |
Transport (fetch/push) for different protocols.
|
org.eclipse.jgit.treewalk |
Walking and comparing directory/file trees (of commits, file system).
|
org.eclipse.jgit.treewalk.filter |
Filters for use in tree walking.
|
Modifier and Type | Method and Description |
---|---|
private void |
CheckoutCommand.checkoutPathsFromCommit(TreeWalk treeWalk,
DirCache dc,
RevCommit commit) |
private void |
CheckoutCommand.checkoutPathsFromIndex(TreeWalk treeWalk,
DirCache dc) |
Modifier and Type | Field and Description |
---|---|
private TreeWalk |
AttributesHandler.treeWalk |
Modifier and Type | Method and Description |
---|---|
private static AttributesNode |
AttributesHandler.attributesNode(TreeWalk treeWalk,
WorkingTreeIterator workingTreeIterator,
DirCacheIterator dirCacheIterator,
CanonicalTreeParser otherTree)
Get the
AttributesNode for the current entry. |
Constructor and Description |
---|
AttributesHandler(TreeWalk treeWalk)
Create an
AttributesHandler with
default rules as well as merged rules from global, info and worktree root
attributes |
Modifier and Type | Field and Description |
---|---|
private TreeWalk |
BlameGenerator.treeWalk |
Modifier and Type | Field and Description |
---|---|
private TreeWalk |
ContentSource.WorkingTreeSource.tw |
Modifier and Type | Method and Description |
---|---|
static java.util.List<DiffEntry> |
DiffEntry.scan(TreeWalk walk)
Convert the TreeWalk into DiffEntry headers.
|
static java.util.List<DiffEntry> |
DiffEntry.scan(TreeWalk walk,
boolean includeTrees)
Convert the TreeWalk into DiffEntry headers, depending on
includeTrees it will add tree objects into result or not. |
static java.util.List<DiffEntry> |
DiffEntry.scan(TreeWalk walk,
boolean includeTrees,
TreeFilter[] markTreeFilters)
Convert the TreeWalk into DiffEntry headers, depending on
includeTrees it will add tree objects into result or not. |
Modifier and Type | Method and Description |
---|---|
private void |
DirCacheCheckout.addTree(TreeWalk tw,
ObjectId id) |
Modifier and Type | Method and Description |
---|---|
boolean |
LfsPointerFilter.include(TreeWalk walk)
Determine if the current entry is interesting to report.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IndexDiff.ProgressReportingFilter.include(TreeWalk walker) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
ResolveMerger.mergeTreeWalk(TreeWalk treeWalk,
boolean ignoreConflicts)
Process the given TreeWalk's entries.
|
Modifier and Type | Method and Description |
---|---|
private boolean |
LsFiles.filterFileMode(TreeWalk tw,
FileMode... modes) |
Modifier and Type | Method and Description |
---|---|
private static boolean |
DiffAlgorithms.isFile(TreeWalk tw,
int ithTree) |
Modifier and Type | Field and Description |
---|---|
private TreeWalk |
TreeRevFilter.pathFilter |
Modifier and Type | Method and Description |
---|---|
boolean |
FollowFilter.include(TreeWalk walker)
Determine if the current entry is interesting to report.
|
Modifier and Type | Field and Description |
---|---|
private TreeWalk |
SubmoduleWalk.walk |
Modifier and Type | Field and Description |
---|---|
private TreeWalk |
WalkFetchConnection.treeWalk |
Modifier and Type | Method and Description |
---|---|
private TreeWalk |
PushCertificateStore.newTreeWalk(java.lang.String refName) |
Modifier and Type | Method and Description |
---|---|
(package private) static PushCertificate |
PushCertificateStore.read(TreeWalk tw) |
Modifier and Type | Class and Description |
---|---|
class |
NameConflictTreeWalk
Specialized TreeWalk to detect directory-file (D/F) name conflicts.
|
Modifier and Type | Field and Description |
---|---|
(package private) TreeWalk |
WorkingTreeIterator.IteratorState.walk
TreeWalk with a (supposedly) matching DirCacheIterator.
|
Modifier and Type | Method and Description |
---|---|
static TreeWalk |
TreeWalk.forPath(ObjectReader reader,
java.lang.String path,
AnyObjectId... trees)
Open a tree walk and filter to exactly one path.
|
static TreeWalk |
TreeWalk.forPath(Repository repo,
ObjectReader reader,
java.lang.String path,
AnyObjectId... trees)
Open a tree walk and filter to exactly one path.
|
static TreeWalk |
TreeWalk.forPath(Repository db,
java.lang.String path,
AnyObjectId... trees)
Open a tree walk and filter to exactly one path.
|
static TreeWalk |
TreeWalk.forPath(Repository db,
java.lang.String path,
RevTree tree)
Open a tree walk and filter to exactly one path.
|
Modifier and Type | Method and Description |
---|---|
void |
WorkingTreeIterator.setDirCacheIterator(TreeWalk walk,
int treeId)
Define the matching
DirCacheIterator ,
to optimize ObjectIds. |
Modifier and Type | Method and Description |
---|---|
int |
TreeFilterMarker.getMarks(TreeWalk walk)
Test the filters against the walk.
|
boolean |
InterIndexDiffFilter.include(TreeWalk walker)
Determine if the current entry is interesting to report.
|
abstract boolean |
TreeFilter.include(TreeWalk walker)
Determine if the current entry is interesting to report.
|
boolean |
TreeFilter.AllFilter.include(TreeWalk walker) |
boolean |
TreeFilter.AnyDiffFilter.include(TreeWalk walker) |
boolean |
PathFilter.include(TreeWalk walker)
Determine if the current entry is interesting to report.
|
boolean |
AndTreeFilter.Binary.include(TreeWalk walker) |
boolean |
AndTreeFilter.List.include(TreeWalk walker) |
boolean |
PathSuffixFilter.include(TreeWalk walker)
Determine if the current entry is interesting to report.
|
boolean |
SkipWorkTreeFilter.include(TreeWalk walker)
Determine if the current entry is interesting to report.
|
boolean |
IndexDiffFilter.include(TreeWalk tw)
Determine if the current entry is interesting to report.
|
boolean |
NotIgnoredFilter.include(TreeWalk tw)
Determine if the current entry is interesting to report.
|
boolean |
OrTreeFilter.Binary.include(TreeWalk walker) |
boolean |
OrTreeFilter.List.include(TreeWalk walker) |
boolean |
PathFilterGroup.Single.include(TreeWalk walker) |
boolean |
PathFilterGroup.Group.include(TreeWalk walker) |
boolean |
NotTreeFilter.include(TreeWalk walker)
Determine if the current entry is interesting to report.
|
boolean |
PathFilter.isDone(TreeWalk walker)
Whether the path length of this filter matches the length of the current
path of the supplied TreeWalk.
|
int |
TreeFilter.matchFilter(TreeWalk walker)
Determine if the current entry is a parent, a match, or no match.
|
int |
PathFilter.matchFilter(TreeWalk walker)
Determine if the current entry is a parent, a match, or no match.
|
int |
AndTreeFilter.Binary.matchFilter(TreeWalk walker) |
int |
AndTreeFilter.List.matchFilter(TreeWalk walker) |
int |
OrTreeFilter.Binary.matchFilter(TreeWalk walker) |
int |
OrTreeFilter.List.matchFilter(TreeWalk walker) |
int |
NotTreeFilter.matchFilter(TreeWalk walker)
Determine if the current entry is a parent, a match, or no match.
|
private WorkingTreeIterator |
IndexDiffFilter.workingTree(TreeWalk tw) |