libgit2

git_filter_init_fn

Version:

Initialize callback on filter

Specified as filter.initialize, this is an optional callback invoked before a filter is first used. It will be called once at most.

If non-NULL, the filter's initialize callback will be invoked right before the first use of the filter, so you can defer expensive initialization operations (in case libgit2 is being used in a way that doesn't need the filter).

Signature

typedef int git_filter_init_fn(git_filter *);

Parameters

Versions