GIT_ATTR_IS_TRUE

GIT_ATTR_TRUE checks if an attribute is set on. In core git parlance, this the value for "Set" attributes.

For example, if the attribute file contains:

*.c foo

Then for file xyz.c looking up attribute "foo" gives a value for which GIT_ATTR_TRUE(value) is true.

version(none)
extern (C) nothrow @nogc pragma(inline, true) nothrow @nogc
bool
GIT_ATTR_IS_TRUE
(
const(char)* attr
)

Meta