Package | Description |
---|---|
org.eclipse.jgit.attributes |
Support for reading .gitattributes.
|
org.eclipse.jgit.dircache |
Reading and editing the directory cache (index).
|
org.eclipse.jgit.internal.storage.dfs |
Distributed file system based repository storage.
|
org.eclipse.jgit.internal.storage.file |
File based repository storage.
|
org.eclipse.jgit.treewalk |
Walking and comparing directory/file trees (of commits, file system).
|
Modifier and Type | Field and Description |
---|---|
private AttributesNode |
AttributesHandler.globalNode |
private AttributesNode |
AttributesHandler.infoNode |
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. |
AttributesNode |
AttributesNodeProvider.getGlobalAttributesNode()
Retrieve the
AttributesNode that
holds the information located in the global gitattributes file. |
AttributesNode |
AttributesNodeProvider.getInfoAttributesNode()
Retrieve the
AttributesNode that
holds the information located in $GIT_DIR/info/attributes file. |
Modifier and Type | Method and Description |
---|---|
protected void |
AttributesHandler.mergeAttributes(AttributesNode node,
java.lang.String entryPath,
boolean isDirectory,
Attributes result)
Merges the matching node attributes for an entry path.
|
Modifier and Type | Class and Description |
---|---|
private static class |
DirCacheIterator.LazyLoadingAttributesNode
AttributesNode implementation that provides lazy loading
facilities. |
Modifier and Type | Method and Description |
---|---|
AttributesNode |
DirCacheIterator.getEntryAttributesNode(ObjectReader reader)
Retrieves the
AttributesNode for the
current entry. |
(package private) AttributesNode |
DirCacheIterator.LazyLoadingAttributesNode.load(ObjectReader reader) |
Modifier and Type | Class and Description |
---|---|
private static class |
DfsRepository.EmptyAttributesNodeProvider.EmptyAttributesNode |
Modifier and Type | Method and Description |
---|---|
AttributesNode |
DfsRepository.EmptyAttributesNodeProvider.getGlobalAttributesNode() |
AttributesNode |
DfsRepository.EmptyAttributesNodeProvider.getInfoAttributesNode() |
Modifier and Type | Class and Description |
---|---|
class |
GlobalAttributesNode
Attribute node loaded from global system-wide file.
|
class |
InfoAttributesNode
Attribute node loaded from the $GIT_DIR/info/attributes file.
|
Modifier and Type | Field and Description |
---|---|
private AttributesNode |
FileRepository.AttributesNodeProviderImpl.globalAttributesNode |
private AttributesNode |
FileRepository.AttributesNodeProviderImpl.infoAttributesNode |
Modifier and Type | Method and Description |
---|---|
AttributesNode |
FileRepository.AttributesNodeProviderImpl.getGlobalAttributesNode() |
AttributesNode |
FileRepository.AttributesNodeProviderImpl.getInfoAttributesNode() |
AttributesNode |
GlobalAttributesNode.load()
Load the attributes node
|
AttributesNode |
InfoAttributesNode.load()
Load the attributes node
|
Modifier and Type | Method and Description |
---|---|
(package private) static void |
FileRepository.AttributesNodeProviderImpl.loadRulesFromFile(AttributesNode r,
java.io.File attrs) |
Modifier and Type | Class and Description |
---|---|
private static class |
WorkingTreeIterator.PerDirectoryAttributesNode
Magic type indicating we know rules exist, but they aren't loaded.
|
Modifier and Type | Field and Description |
---|---|
protected AttributesNode |
AbstractTreeIterator.attributesNode
Parsed rules of .gitattributes file if it exists.
|
Modifier and Type | Method and Description |
---|---|
private AttributesNode |
CanonicalTreeParser.findAttributes(ObjectReader reader) |
AttributesNode |
WorkingTreeIterator.getEntryAttributesNode()
Retrieves the
AttributesNode for the
current entry. |
AttributesNode |
CanonicalTreeParser.getEntryAttributesNode(ObjectReader reader)
Retrieve the
AttributesNode for the
current entry. |
(package private) AttributesNode |
WorkingTreeIterator.PerDirectoryAttributesNode.load() |
private static AttributesNode |
CanonicalTreeParser.loadAttributes(ObjectReader reader,
AnyObjectId id) |
private static AttributesNode |
CanonicalTreeParser.noAttributes() |