git_object_type2string

Convert an object type to its string representation.

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

extern (C) nothrow @nogc
const(char)*
git_object_type2string

Parameters

type libgit2_d.types.git_object_t

object type to convert.

Return Value

Type: const(char)*

the corresponding string representation.

Meta