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

Function getInfo

test/fixtures/snapshot/typescript.js:122125–122129  ·  view source on GitHub ↗
(importingSourceFileName, host)

Source from the content-addressed store, hash-verified

122123 }
122124 // importingSourceFileName is separate because getEditsForFileRename may need to specify an updated path
122125 function getInfo(importingSourceFileName, host) {
122126 var getCanonicalFileName = ts.createGetCanonicalFileName(host.useCaseSensitiveFileNames ? host.useCaseSensitiveFileNames() : true);
122127 var sourceDirectory = ts.getDirectoryPath(importingSourceFileName);
122128 return { getCanonicalFileName: getCanonicalFileName, importingSourceFileName: importingSourceFileName, sourceDirectory: sourceDirectory };
122129 }
122130 function getLocalModuleSpecifier(moduleFileName, info, compilerOptions, host, _a) {
122131 var ending = _a.ending, relativePreference = _a.relativePreference;
122132 var baseUrl = compilerOptions.baseUrl, paths = compilerOptions.paths, rootDirs = compilerOptions.rootDirs;

Tested by

no test coverage detected