(f)
| 18396 | */ |
| 18397 | function getExternalModuleNameFromPath(host, fileName, referencePath) { |
| 18398 | var getCanonicalFileName = function (f) { return host.getCanonicalFileName(f); }; |
| 18399 | var dir = ts.toPath(referencePath ? ts.getDirectoryPath(referencePath) : host.getCommonSourceDirectory(), host.getCurrentDirectory(), getCanonicalFileName); |
| 18400 | var filePath = ts.getNormalizedAbsolutePath(fileName, host.getCurrentDirectory()); |
| 18401 | var relativePath = ts.getRelativePathToDirectoryOrUrl(dir, filePath, dir, getCanonicalFileName, /*isAbsolutePathAnUrl*/ false); |
no outgoing calls
no test coverage detected
searching dependent graphs…