Package | Description |
---|---|
org.eclipse.jgit.attributes |
Support for reading .gitattributes.
|
org.eclipse.jgit.merge |
Content and commit history merge algorithms.
|
org.eclipse.jgit.treewalk |
Walking and comparing directory/file trees (of commits, file system).
|
org.eclipse.jgit.util |
Utility classes.
|
org.eclipse.jgit.util.io |
Utility classes for IO (streams).
|
Modifier and Type | Method and Description |
---|---|
Attributes |
AttributesProvider.getAttributes()
Get attributes
|
Attributes |
AttributesHandler.getAttributes()
|
Modifier and Type | Method and Description |
---|---|
protected void |
AttributesHandler.expandMacro(Attribute attr,
Attributes result)
Expand a macro
|
protected void |
AttributesHandler.mergeAttributes(AttributesNode node,
String entryPath,
boolean isDirectory,
Attributes result)
Merges the matching node attributes for an entry path.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
ResolveMerger.processEntry(CanonicalTreeParser base,
CanonicalTreeParser ours,
CanonicalTreeParser theirs,
DirCacheBuildIterator index,
WorkingTreeIterator work,
boolean ignoreConflicts,
Attributes attributes)
Processes one path and tries to merge taking git attributes in account.
|
Modifier and Type | Method and Description |
---|---|
Attributes |
TreeWalk.getAttributes()
Get attributes
|
Modifier and Type | Method and Description |
---|---|
static Attributes |
LfsFactory.getAttributesForPath(Repository db,
String path) |
static Attributes |
LfsFactory.getAttributesForPath(Repository db,
String path,
RevCommit commit)
Get attributes for given path and commit
|
Modifier and Type | Method and Description |
---|---|
static CoreConfig.EolStreamType |
EolStreamTypeUtil.detectStreamType(TreeWalk.OperationType op,
WorkingTreeOptions options,
Attributes attrs)
Convenience method used to detect if CRLF conversion has been configured
using the
global repo options
global attributes
info attributes
working tree .gitattributes
|
Copyright © 2018 Eclipse JGit Project. All rights reserved.