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 opposied to TRUE, FALSE or UNSPECIFIED)

Check attribute flags: Reading values from index and working directory

Check attribute flags: Using the system attributes file

Functions

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