git_attr_foreach_cb

The callback used with git_attr_foreach.

This callback will be invoked only once per attribute name, even if there are multiple rules for a given file. The highest priority rule will be used.

@see git_attr_foreach.

@param name The attribute name. @param value The attribute value. May be NULL if the attribute is explicitly set to UNSPECIFIED using the '!' sign. @param payload A user-specified pointer. @return 0 to continue looping, non-zero to stop. This value will be returned from git_attr_foreach.

extern (C) nothrow @nogc
alias git_attr_foreach_cb = int function
(
const(char)* name
,
const(char)* value
,
void* payload
)

Meta