@param repo The repository containing the path.
@param flags A combination of GIT_ATTR_CHECK... flags.
@param path Path inside the repo to check attributes. This does not have
to exist, but if it does not, then it will be treated as a
plain file (i.e. not a directory).
@param callback Function to invoke on each attribute name and value.
See git_attr_foreach_cb.
@param payload Passed on as extra parameter to callback function.
@return 0 on success, non-zero callback return value, or error code
Loop over all the git attributes for a path.
@param repo The repository containing the path. @param flags A combination of GIT_ATTR_CHECK... flags. @param path Path inside the repo to check attributes. This does not have to exist, but if it does not, then it will be treated as a plain file (i.e. not a directory). @param callback Function to invoke on each attribute name and value. See git_attr_foreach_cb. @param payload Passed on as extra parameter to callback function. @return 0 on success, non-zero callback return value, or error code