git_blob_filter_options_init

Initialize git_blob_filter_options structure

Initializes a git_blob_filter_options with default values. Equivalent to creating an instance with GIT_BLOB_FILTER_OPTIONS_INIT.

extern (C) nothrow @nogc public
int
git_blob_filter_options_init

Parameters

opts .git_blob_filter_options*

The git_blob_filter_options struct to initialize.

version_ uint

The struct version; pass GIT_BLOB_FILTER_OPTIONS_VERSION.

Return Value

Type: int

Zero on success; -1 on failure.

Meta