libgit2

git_object_string2type

Version:

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

Signature

git_otype git_object_string2type(const char *str);

Parameters

const char *
In
str

the string to convert.

Returns

the corresponding git_otype.

Versions