(str: string)
| 142 | // --------------------------------------------------------------------------- |
| 143 | |
| 144 | function escapeRegex(str: string): string { |
| 145 | return str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); |
| 146 | } |
| 147 | |
| 148 | function sameDirectory(a: string, b: string): boolean { |
| 149 | const dirA = a.lastIndexOf("/"); |
no test coverage detected