git_describe_format

Print the describe result to a buffer

extern (C) nothrow @nogc public
int
git_describe_format

Parameters

out_ libgit2.buffer.git_buf*

The buffer to store the result

result const(.git_describe_result)*

the result from git_describe_commit() or git_describe_workdir().

opts const(.git_describe_format_options)*

the formatting options (or null for defaults)

Return Value

Type: int

0 or an error code.

Meta