libgit2

git_config_backend_memory_options_init

Version:

Initialize git_config_backend_memory_options structure

Initialize a git_config_backend_memory_options with default values. Equivalent to creating an instance with GIT_CONFIG_BACKEND_MEMORY_OPTIONS_INIT.

Signature

int git_config_backend_memory_options_init(git_config_backend_memory_options *opts, unsigned int version);

Parameters

unsigned int
In
version

Returns

int

0 on success or -1 on failure.

Versions