git_filter_init

Initializes a git_filter with default values. Equivalent to creating an instance with GIT_FILTER_INIT.

package extern (C) nothrow @nogc
int
git_filter_init

Parameters

filter .git_filter*

the git_filter struct to initialize.

Return Value

Type: int

Zero on success; -1 on failure.

Meta