MCPcopy Index your code
hub / github.com/nodejs/node / getSourceFilePathInNewDir

Function getSourceFilePathInNewDir

test/fixtures/snapshot/typescript.js:18496–18498  ·  view source on GitHub ↗
(fileName, host, newDirPath)

Source from the content-addressed store, hash-verified

18494 }
18495 ts.sourceFileMayBeEmitted = sourceFileMayBeEmitted;
18496 function getSourceFilePathInNewDir(fileName, host, newDirPath) {
18497 return getSourceFilePathInNewDirWorker(fileName, newDirPath, host.getCurrentDirectory(), host.getCommonSourceDirectory(), function (f) { return host.getCanonicalFileName(f); });
18498 }
18499 ts.getSourceFilePathInNewDir = getSourceFilePathInNewDir;
18500 function getSourceFilePathInNewDirWorker(fileName, newDirPath, currentDirectory, commonSourceDirectory, getCanonicalFileName) {
18501 var sourceFilePath = ts.getNormalizedAbsolutePath(fileName, currentDirectory);

Callers 1

getOwnEmitOutputFilePathFunction · 0.85

Calls 1

Tested by

no test coverage detected