git_oid_tostr_s

Format a git_oid into a statically allocated c-string.

The c-string is owned by the library and should not be freed by the user. If libgit2 is built with thread support, the string will be stored in TLS (i.e. one buffer per thread) to allow for concurrent calls of the function.

@param oid The oid structure to format @return the c-string

extern (C) nothrow @nogc
char*
git_oid_tostr_s
(
const(.git_oid)* oid
)

Meta