Package org.eclipse.jgit.attributes
Interface AttributesNodeProvider
- All Known Implementing Classes:
DfsRepository.EmptyAttributesNodeProvider,FileRepository.AttributesNodeProviderImpl
public interface AttributesNodeProvider
An interface used to retrieve the global and info
AttributesNodes.- Since:
- 4.2
-
Method Summary
Modifier and TypeMethodDescriptionRetrieve theAttributesNodethat holds the information located in the global gitattributes file.Retrieve theAttributesNodethat holds the information located in $GIT_DIR/info/attributes file.
-
Method Details
-
getInfoAttributesNode
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
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:
-