inFilter

Checks if a given THORFile matches one of our filters.

The check performs a case insensitive glob match.

bool
inFilter
(
in ref THORFile file
,
in ref const(wstring)[] filterList
)

Parameters

file THORFile

The file to check

filterList const(wstring)[]

The array of filters to check against

Return Value

Type: bool

Whether the file matches one of the provided filters

Meta