git_repository_init_options_init

Initialize git_repository_init_options structure

Initializes a git_repository_init_options with default values. Equivalent to creating an instance with GIT_REPOSITORY_INIT_OPTIONS_INIT.

extern (C) nothrow @nogc
int
git_repository_init_options_init

Parameters

opts .git_repository_init_options*

The git_repository_init_options struct to initialize.

Return Value

Type: int

Zero on success; -1 on failure.

Meta