Package org.eclipse.jgit.attributes
Interface AttributesNodeProvider
-
public interface AttributesNodeProvider
An interface used to retrieve the global and infoAttributesNode
s.- Since:
- 4.2
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
getInfoAttributesNode
AttributesNode getInfoAttributesNode() throws IOException
Retrieve theAttributesNode
that holds the information located in $GIT_DIR/info/attributes file.- Returns:
- the
AttributesNode
that holds the information located in $GIT_DIR/info/attributes file. - Throws:
IOException
- if an error is raised while parsing the attributes file
-
getGlobalAttributesNode
AttributesNode getGlobalAttributesNode() throws IOException
Retrieve theAttributesNode
that holds the information located in the global gitattributes file.- Returns:
- the
AttributesNode
that holds the information located in the global gitattributes file. - Throws:
IOException
- java.io.IOException if an error is raised while parsing the attributes file- See Also:
CoreConfig.getAttributesFile()
-
-