libgit2

attr

Version:
Git attribute management routines

Macros

GIT_ATTR_TRUE checks if an attribute is set on

GIT_ATTR_FALSE checks if an attribute is set off

GIT_ATTR_UNSPECIFIED checks if an attribute is unspecified

GIT_ATTR_HAS_VALUE checks if an attribute is set to a value (as opposed to TRUE, FALSE or UNSPECIFIED)

Check attribute flags: Reading values from index and working directory

Check attribute flags: Using the system attributes file

Enums

Possible states for an attribute

Callbacks

Functions

Return the value type for a given attribute

Look up the value of one git attribute for path

Look up a list of git attributes for path

Loop over all the git attributes for a path

Flush the gitattributes cache

Add a macro definition