git_attr_value

Return the value type for a given attribute.

This can be either TRUE, FALSE, UNSPECIFIED (if the attribute was not set at all), or VALUE, if the attribute was set to an actual string.

If the attribute has a VALUE string, it can be accessed normally as a null-terminated C string.

extern (C) nothrow @nogc
git_attr_value
(
const(char)* attr
)

Parameters

attr const(char)*

The attribute

Return Value

the value type for the attribute

Meta