Skip to content

cupertino-files / FilterRule

Interface: FilterRule ​

Defined in: src/tst/filters.ts:66

One column's filter rule.

Properties ​

column ​

column: number | undefined

Defined in: src/tst/filters.ts:73

Column the rule tests, from the parallel filter_offsets array. undefined when the arrays are ragged — a file we should not guess at.


enabled ​

enabled: boolean

Defined in: src/tst/filters.ts:75

Whether this rule contributes, independent of the set's own switch.


index ​

index: number

Defined in: src/tst/filters.ts:68

Position in the rule list.


legacy ​

legacy: boolean

Defined in: src/tst/filters.ts:78

True when read from the pre-2016 filter_rules_prepivot list.


predicate ​

predicate: Predicate | undefined

Defined in: src/tst/filters.ts:76

MIT licensed. Independently made — not by Apple in California. Not affiliated with or endorsed by Apple Inc.