Package | Description |
---|---|
org.eclipse.jgit.attributes |
Support for reading .gitattributes.
|
org.eclipse.jgit.dircache |
Reading and editing the directory cache (index).
|
org.eclipse.jgit.treewalk |
Walking and comparing directory/file trees (of commits, file system).
|
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. |
private void |
AttributesHandler.mergePerDirectoryEntryAttributes(java.lang.String entryPath,
int nameRoot,
boolean isDirectory,
WorkingTreeIterator workingTreeIterator,
DirCacheIterator dirCacheIterator,
CanonicalTreeParser otherTree,
Attributes result)
Merges the matching working directory attributes for an entry path.
|
Modifier and Type | Class and Description |
---|---|
class |
DirCacheBuildIterator
Iterate and update a
DirCache as part of a
TreeWalk . |
Constructor and Description |
---|
DirCacheIterator(DirCacheIterator p,
DirCacheTree dct) |
Modifier and Type | Method and Description |
---|---|
protected DirCacheIterator |
WorkingTreeIterator.getDirCacheIterator()
Retrieves the
DirCacheIterator at the current entry if
WorkingTreeIterator.setDirCacheIterator(TreeWalk, int) was called. |
Modifier and Type | Method and Description |
---|---|
FileMode |
WorkingTreeIterator.getIndexFileMode(DirCacheIterator indexIter)
Get the file mode to use for the current entry when it is to be updated
in the index.
|
private boolean |
WorkingTreeIterator.hasCrLfInIndex(DirCacheIterator dirCache)
Determines whether the file was committed un-normalized.
|