libgit2

attr

Version:
Git attribute management routines

Structs

An options structure for querying attributes

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: controlling extended attribute behavior

Enums

Possible states for an attribute

Callbacks

The callback used with git_attr_foreach

Functions

Return the value type for a given attribute

Look up the value of one git attribute for path

Look up the value of one git attribute for path with extended options

Look up a list of git attributes for path

Look up a list of git attributes for path with extended options

Loop over all the git attributes for a path

Loop over all the git attributes for a path with extended options

Flush the gitattributes cache

Add a macro definition