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 class
DfsRepository.EmptyAttributesNodeProvider.EmptyAttributesNode
-
Field Summary
Fields Modifier and Type Field Description private DfsRepository.EmptyAttributesNodeProvider.EmptyAttributesNode
emptyAttributesNode
-
Constructor Summary
Constructors Modifier Constructor Description private
EmptyAttributesNodeProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributesNode
getGlobalAttributesNode()
Retrieve theAttributesNode
that holds the information located in the global gitattributes file.AttributesNode
getInfoAttributesNode()
Retrieve theAttributesNode
that 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:AttributesNodeProvider
Retrieve theAttributesNode
that holds the information located in $GIT_DIR/info/attributes file.- Specified by:
getInfoAttributesNode
in interfaceAttributesNodeProvider
- Returns:
- the
AttributesNode
that 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:AttributesNodeProvider
Retrieve theAttributesNode
that holds the information located in the global gitattributes file.- Specified by:
getGlobalAttributesNode
in interfaceAttributesNodeProvider
- Returns:
- the
AttributesNode
that 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()
-
-