git_describe_format_options_init

Initialize git_describe_format_options structure

Initializes a git_describe_format_options with default values. Equivalent to creating an instance with GIT_DESCRIBE_FORMAT_OPTIONS_INIT.

extern (C) nothrow @nogc public
int
git_describe_format_options_init

Parameters

opts .git_describe_format_options*

The git_describe_format_options struct to initialize.

version_ uint

The struct version; pass GIT_DESCRIBE_FORMAT_OPTIONS_VERSION.

Return Value

Type: int

Zero on success; -1 on failure.

Meta