git_filter_list_contains

Query the filter list to see if a given filter (by name) will run. The built-in filters "crlf" and "ident" can be queried, otherwise this is the name of the filter specified by the filter attribute.

This will return 0 if the given filter is not in the list, or 1 if the filter will be applied.

extern (C) nothrow @nogc
int
git_filter_list_contains
(,
const(char)* name
)

Parameters

filters .git_filter_list*

A loaded git_filter_list (or null)

name const(char)*

The name of the filter to query

Return Value

Type: int

1 if the filter is in the list, 0 otherwise

Meta