CompiledGlob
Defined in: packages/core/src/utils/globMatch.ts:272
One compiled pattern: whether it negates, and the test it applies to a path.
Properties
Section titled “Properties”negated
Section titled “negated”
readonlynegated:boolean
Defined in: packages/core/src/utils/globMatch.ts:274
true when the pattern was written with a leading !.
pattern
Section titled “pattern”
readonlypattern:string
Defined in: packages/core/src/utils/globMatch.ts:276
The pattern as written, minus any leading !.
Methods
Section titled “Methods”test()
Section titled “test()”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.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”boolean