(str, prefix, getCanonicalFileName)
| 2422 | } |
| 2423 | ts.removePrefix = removePrefix; |
| 2424 | function tryRemovePrefix(str, prefix, getCanonicalFileName) { |
| 2425 | if (getCanonicalFileName === void 0) { getCanonicalFileName = identity; } |
| 2426 | return startsWith(getCanonicalFileName(str), getCanonicalFileName(prefix)) ? str.substring(prefix.length) : undefined; |
| 2427 | } |
| 2428 | ts.tryRemovePrefix = tryRemovePrefix; |
| 2429 | function isPatternMatch(_a, candidate) { |
| 2430 | var prefix = _a.prefix, suffix = _a.suffix; |
nothing calls this directly
no test coverage detected
searching dependent graphs…