(a, b, currentDirectory, ignoreCase)
| 8099 | } |
| 8100 | ts.comparePathsCaseInsensitive = comparePathsCaseInsensitive; |
| 8101 | function comparePaths(a, b, currentDirectory, ignoreCase) { |
| 8102 | if (typeof currentDirectory === "string") { |
| 8103 | a = combinePaths(currentDirectory, a); |
| 8104 | b = combinePaths(currentDirectory, b); |
| 8105 | } |
| 8106 | else if (typeof currentDirectory === "boolean") { |
| 8107 | ignoreCase = currentDirectory; |
| 8108 | } |
| 8109 | return comparePathsWorker(a, b, ts.getStringComparer(ignoreCase)); |
| 8110 | } |
| 8111 | ts.comparePaths = comparePaths; |
| 8112 | function containsPath(parent, child, currentDirectory, ignoreCase) { |
| 8113 | if (typeof currentDirectory === "string") { |
nothing calls this directly
no test coverage detected