Class DfsRepository.EmptyAttributesNodeProvider
- java.lang.Object
-
- org.eclipse.jgit.internal.storage.dfs.DfsRepository.EmptyAttributesNodeProvider
-
- All Implemented Interfaces:
AttributesNodeProvider
- Enclosing class:
- DfsRepository
private static class DfsRepository.EmptyAttributesNodeProvider extends java.lang.Object implements AttributesNodeProvider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classDfsRepository.EmptyAttributesNodeProvider.EmptyAttributesNode
-
Field Summary
Fields Modifier and Type Field Description private DfsRepository.EmptyAttributesNodeProvider.EmptyAttributesNodeemptyAttributesNode
-
Constructor Summary
Constructors Modifier Constructor Description privateEmptyAttributesNodeProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributesNodegetGlobalAttributesNode()Retrieve theAttributesNodethat holds the information located in the global gitattributes file.AttributesNodegetInfoAttributesNode()Retrieve theAttributesNodethat holds the information located in $GIT_DIR/info/attributes file.
-
-
-
Field Detail
-
emptyAttributesNode
private DfsRepository.EmptyAttributesNodeProvider.EmptyAttributesNode emptyAttributesNode
-
-
Method Detail
-
getInfoAttributesNode
public AttributesNode getInfoAttributesNode() throws java.io.IOException
Description copied from interface:AttributesNodeProviderRetrieve theAttributesNodethat holds the information located in $GIT_DIR/info/attributes file.- Specified by:
getInfoAttributesNodein interfaceAttributesNodeProvider- Returns:
- the
AttributesNodethat holds the information located in $GIT_DIR/info/attributes file. - Throws:
java.io.IOException- if an error is raised while parsing the attributes file
-
getGlobalAttributesNode
public AttributesNode getGlobalAttributesNode() throws java.io.IOException
Description copied from interface:AttributesNodeProviderRetrieve theAttributesNodethat holds the information located in the global gitattributes file.- Specified by:
getGlobalAttributesNodein interfaceAttributesNodeProvider- Returns:
- the
AttributesNodethat holds the information located in the global gitattributes file. - Throws:
java.io.IOException- java.io.IOException if an error is raised while parsing the attributes file- See Also:
CoreConfig.getAttributesFile()
-
-