git_merge_file_input_init

Initializes a git_merge_file_input with default values. Equivalent to creating an instance with GIT_MERGE_FILE_INPUT_INIT.

extern (C) nothrow @nogc
int
git_merge_file_input_init

Parameters

opts .git_merge_file_input*

the git_merge_file_input instance to initialize.

version_ uint

the version of the struct; you should pass GIT_MERGE_FILE_INPUT_VERSION here.

Return Value

Type: int

Zero on success; -1 on failure.

Meta