()
| 38 | // allowing non-native path types to be tested by overriding this method in |
| 39 | // a subclass in the test harness. |
| 40 | protected getNativePath(): PathKind { |
| 41 | if (process.platform == "win32") |
| 42 | return PathWin32.getInstance(); |
| 43 | else |
| 44 | return PathPosix.getInstance(); |
| 45 | } |
| 46 | |
| 47 | private toPathKind(unknownPath: string): PathKind { |
| 48 | const pathPosix: PathKind = PathPosix.getInstance(); |
no test coverage detected