Skip to content

cupertino-files / FilterRule

Interface: FilterRule

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

One column's filter rule.

Properties

column

column: number | undefined

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

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:74

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


index

index: number

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

Position in the rule list.


legacy

legacy: boolean

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

True when read from the pre-2016 filter_rules_prepivot list.


predicate

predicate: Predicate | undefined

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

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