git_diff_format_email_options_init

Initialize git_diff_format_email_options structure

Initializes a git_diff_format_email_options with default values. Equivalent to creating an instance with GIT_DIFF_FORMAT_EMAIL_OPTIONS_INIT.

version(!GIT_DEPRECATE_HARD)
extern (C) nothrow @nogc public deprecated
int
git_diff_format_email_options_init

Parameters

opts .git_diff_format_email_options*

The git_blame_options struct to initialize.

version_ uint

The struct version; pass GIT_DIFF_FORMAT_EMAIL_OPTIONS_VERSION.

Return Value

Type: int

Zero on success; -1 on failure.

Meta