private static class DfsRepository.EmptyAttributesNodeProvider extends java.lang.Object implements AttributesNodeProvider
Modifier and Type | Class and Description |
---|---|
private static class |
DfsRepository.EmptyAttributesNodeProvider.EmptyAttributesNode |
Modifier and Type | Field and Description |
---|---|
private DfsRepository.EmptyAttributesNodeProvider.EmptyAttributesNode |
emptyAttributesNode |
Modifier | Constructor and Description |
---|---|
private |
EmptyAttributesNodeProvider() |
Modifier and Type | Method and Description |
---|---|
AttributesNode |
getGlobalAttributesNode()
Retrieve the
AttributesNode that
holds the information located in the global gitattributes file. |
AttributesNode |
getInfoAttributesNode()
Retrieve the
AttributesNode that
holds the information located in $GIT_DIR/info/attributes file. |
private DfsRepository.EmptyAttributesNodeProvider.EmptyAttributesNode emptyAttributesNode
public AttributesNode getInfoAttributesNode() throws java.io.IOException
AttributesNodeProvider
AttributesNode
that
holds the information located in $GIT_DIR/info/attributes file.getInfoAttributesNode
in interface AttributesNodeProvider
AttributesNode
that holds
the information located in $GIT_DIR/info/attributes file.java.io.IOException
- if an error is raised while parsing the attributes filepublic AttributesNode getGlobalAttributesNode() throws java.io.IOException
AttributesNodeProvider
AttributesNode
that
holds the information located in the global gitattributes file.getGlobalAttributesNode
in interface AttributesNodeProvider
AttributesNode
that holds
the information located in the global gitattributes file.java.io.IOException
- java.io.IOException if an error is raised while parsing the
attributes fileCoreConfig.getAttributesFile()