libgit2

git_object_string2type

Version:

Convert a string object type representation to it's git_object_t.

Signature

git_object_t git_object_string2type(const char *str);

Parameters

const char *
In
str

the string to convert.

Returns

the corresponding git_object_t.

Versions