Function: matchGlob()
ts
function matchGlob(pattern, name): boolean;Defined in: packages/core/src/state-sync/GlobMatcher.ts:38
Match a dot-separated name against a glob pattern.
Splits both pattern and name by . and performs iterative matching with bounded backtracking to prevent exponential blowup.
Parameters
| Parameter | Type |
|---|---|
pattern | string |
name | string |
Returns
boolean