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
AttributesNode
s.- Since:
- 4.2
-
Method Summary
Modifier and TypeMethodDescriptionRetrieve theAttributesNode
that holds the information located in the global gitattributes file.Retrieve theAttributesNode
that holds the information located in $GIT_DIR/info/attributes file.
-
Method Details
-
getInfoAttributesNode
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
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:
-