git_diff_options_init

Initialize git_diff_options structure

Initializes a git_diff_options with default values. Equivalent to creating an instance with GIT_DIFF_OPTIONS_INIT.

@param opts The git_diff_options struct to initialize. @param version The struct version; pass GIT_DIFF_OPTIONS_VERSION. @return Zero on success; -1 on failure.

extern (C) nothrow @nogc
int
git_diff_options_init

Meta