-
public interface AttributesNodeProviderAn interface used to retrieve the global and infoAttributesNodes.- Since:
- 4.2
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
getInfoAttributesNode
AttributesNode getInfoAttributesNode() throws IOException
Retrieve theAttributesNodethat holds the information located in $GIT_DIR/info/attributes file.- Returns:
- the
AttributesNodethat 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 theAttributesNodethat holds the information located in the global gitattributes file.- Returns:
- the
AttributesNodethat 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()
-
-