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

Function combinePathsSafe

test/fixtures/snapshot/typescript.js:139580–139582  ·  view source on GitHub ↗
(pathA, pathB)

Source from the content-addressed store, hash-verified

139578 return ts.normalizePath(ts.combinePaths(pathA, pathB));
139579 }
139580 function combinePathsSafe(pathA, pathB) {
139581 return ts.ensurePathIsNonModuleName(combineNormal(pathA, pathB));
139582 }
139583 function getSourceFileToImport(importedModuleSymbol, importLiteral, importingSourceFile, program, host, oldToNew) {
139584 if (importedModuleSymbol) {
139585 // `find` should succeed because we checked for ambient modules before calling this function.

Callers 3

tryUpdateStringFunction · 0.85
_loop_6Function · 0.85

Calls 1

combineNormalFunction · 0.85

Tested by

no test coverage detected