libgit2

git_obj_type_to_string

Version:

Convert an object type to it's string representation.

The result is a pointer to a string in static memory and should not be free()'ed.

Signature

const char *git_obj_type_to_string(git_otype type);

Parameters

In
type

object type to convert.

Returns

const char *

the corresponding string representation.

Versions