`states` with every `**` that can match no folder at all stepped over.
(glob: GlobSegment[], states: Set<number>)
| 1032 | |
| 1033 | /** `states` with every `**` that can match no folder at all stepped over. */ |
| 1034 | function globClosure(glob: GlobSegment[], states: Set<number>): Set<number> { |
| 1035 | for (const i of [...states]) { |
| 1036 | for (let j = i; glob[j]?.globstar; j++) states.add(j + 1); |
| 1037 | } |
| 1038 | return states; |
| 1039 | } |
| 1040 | |
| 1041 | /** Read the `name` field from a member directory's package.json. */ |
| 1042 | function readPackageName(dirAbs: string): string | null { |
no test coverage detected