Package | Description |
---|---|
org.eclipse.jgit.attributes |
Support for reading .gitattributes.
|
org.eclipse.jgit.diff |
Comparing file contents by computing diffs.
|
org.eclipse.jgit.lfs | |
org.eclipse.jgit.util |
Utility classes.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<Attribute> |
AttributesRule.attributes |
private static java.util.List<Attribute> |
AttributesHandler.BINARY_RULE_ATTRIBUTES
This is the default binary rule that is present in any git folder
[attr]binary -diff -merge -text |
private java.util.Map<java.lang.String,java.util.List<Attribute>> |
AttributesHandler.expansions |
private java.util.Map<java.lang.String,Attribute> |
Attributes.map |
Modifier and Type | Method and Description |
---|---|
Attribute |
Attributes.get(java.lang.String key)
Get the attribute with the given key
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Attribute> |
Attributes.getAll()
Get all attributes
|
java.util.List<Attribute> |
AttributesRule.getAttributes()
Return the attributes.
|
private static java.util.List<Attribute> |
AttributesRule.parseAttributes(java.lang.String attributesLine) |
Modifier and Type | Method and Description |
---|---|
protected void |
AttributesHandler.expandMacro(Attribute attr,
Attributes result)
Expand a macro
|
void |
Attributes.put(Attribute a)
Put an attribute
|
Constructor and Description |
---|
Attributes(Attribute... attributes)
Creates a new instance
|
Modifier and Type | Field and Description |
---|---|
protected Attribute |
DiffEntry.diffAttribute
diff filter attribute
|
Modifier and Type | Method and Description |
---|---|
Attribute |
DiffEntry.getDiffAttribute() |
Modifier and Type | Method and Description |
---|---|
LfsFactory.LfsInputStream |
BuiltinLFS.applyCleanFilter(Repository db,
java.io.InputStream input,
long length,
Attribute attribute) |
ObjectLoader |
BuiltinLFS.applySmudgeFilter(Repository db,
ObjectLoader loader,
Attribute attribute) |
private boolean |
BuiltinLFS.isEnabled(Repository db,
Attribute attribute) |
Modifier and Type | Method and Description |
---|---|
LfsFactory.LfsInputStream |
LfsFactory.applyCleanFilter(Repository db,
java.io.InputStream input,
long length,
Attribute attribute)
Apply clean filtering to the given stream, writing the file content to
the LFS storage if required and returning a stream to the LFS pointer
instead.
|
ObjectLoader |
LfsFactory.applySmudgeFilter(Repository db,
ObjectLoader loader,
Attribute attribute)
Apply smudge filtering to a given loader, potentially redirecting it to a
LFS blob which is downloaded on demand.
|