git_oid_nfmt

Format a git_oid into a partial hex string.

@param out_ output hex string; you say how many bytes to write. If the number of bytes is > GIT_OID_HEXSZ, extra bytes will be zeroed; if not, a '\0' terminator is NOT added. @param n number of characters to write into out string @param id oid structure to format. @return 0 on success or error code

extern (C) nothrow @nogc
int
git_oid_nfmt
(
char* out_
,
size_t n
,
const(.git_oid)* id
)

Meta