git_apply_options_init

Initialize git_apply_options structure

Initialize a git_apply_options with default values. Equivalent to creating an instance with GIT_APPLY_OPTIONS_INIT.

extern (C) nothrow @nogc public
int
git_apply_options_init

Parameters

opts .git_apply_options*

The git_apply_options struct to initialize.

version_ uint

The struct version; pass GIT_APPLY_OPTIONS_VERSION

Return Value

Type: int

0 on success or -1 on failure.

Meta