(patternSegment: string, sourceSegment: string)
| 331 | const parent = new Map<string, { i2: number; j2: number }>(); |
| 332 | const isDoubleStar = (segment: string) => segment === "**"; |
| 333 | const segmentMatches = (patternSegment: string, sourceSegment: string) => { |
| 334 | const concrete = patternSegment.replaceAll("[locale]", locale); |
| 335 | return minimatch(sourceSegment, concrete, { dot: true, nocase: true }); |
| 336 | }; |
| 337 | const forbid = options?.forbid; |
| 338 | const key = (i: number, j: number) => `${i}|${j}`; |
| 339 | const dfs = (i: number, j: number): boolean => { |