(absoluteOrRelativePath, basePath, getCanonicalFileName)
| 8180 | } |
| 8181 | ts.getRelativePathFromDirectory = getRelativePathFromDirectory; |
| 8182 | function convertToRelativePath(absoluteOrRelativePath, basePath, getCanonicalFileName) { |
| 8183 | return !isRootedDiskPath(absoluteOrRelativePath) |
| 8184 | ? absoluteOrRelativePath |
| 8185 | : getRelativePathToDirectoryOrUrl(basePath, absoluteOrRelativePath, basePath, getCanonicalFileName, /*isAbsolutePathAnUrl*/ false); |
| 8186 | } |
| 8187 | ts.convertToRelativePath = convertToRelativePath; |
| 8188 | function getRelativePathFromFile(from, to, getCanonicalFileName) { |
| 8189 | return ensurePathIsNonModuleName(getRelativePathFromDirectory(getDirectoryPath(from), to, getCanonicalFileName)); |
nothing calls this directly
no test coverage detected
searching dependent graphs…