Skip to content

CompiledGlob

Defined in: packages/core/src/utils/globMatch.ts:272

One compiled pattern: whether it negates, and the test it applies to a path.

readonly negated: boolean

Defined in: packages/core/src/utils/globMatch.ts:274

true when the pattern was written with a leading !.


readonly pattern: string

Defined in: packages/core/src/utils/globMatch.ts:276

The pattern as written, minus any leading !.

test(path): boolean

Defined in: packages/core/src/utils/globMatch.ts:278

Does this pattern match path? Negation is NOT applied here — see negated above.

string

boolean