git_blame_options_init

Initialize git_blame_options structure

Initializes a git_blame_options with default values. Equivalent to creating an instance with GIT_BLAME_OPTIONS_INIT.

extern (C) nothrow @nogc public
int
git_blame_options_init

Parameters

opts .git_blame_options*

The git_blame_options struct to initialize.

version_ uint

The struct version; pass GIT_BLAME_OPTIONS_VERSION.

Return Value

Type: int

Zero on success; -1 on failure.

Meta