libgit2

git_filter_list_length

Version:

Look up how many filters are in the list

We will attempt to apply all of these filters to any data passed in, but note that the filter apply action still has the option of skipping data that is passed in (for example, the CRLF filter will skip data that appears to be binary).

Signature

size_t git_filter_list_length(const git_filter_list *fl);

Parameters

In
fl

A filter list

Returns

size_t

The number of filters in the list

Versions