git_revert_options_init

Initialize git_revert_options structure

Initializes a git_revert_options with default values. Equivalent to creating an instance with GIT_REVERT_OPTIONS_INIT.

extern (C) nothrow @nogc
int
git_revert_options_init

Parameters

opts .git_revert_options*

The git_revert_options struct to initialize.

Return Value

Type: int

Zero on success; -1 on failure.

Meta