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

Function combineDirectoryPath

test/fixtures/snapshot/typescript.js:44163–44165  ·  view source on GitHub ↗
(root, dir)

Source from the content-addressed store, hash-verified

44161 return ts.hostGetCanonicalFileName({ useCaseSensitiveFileNames: useCaseSensitiveFileNames })(ts.getNormalizedAbsolutePath(path, (_b = (_a = state.host).getCurrentDirectory) === null || _b === void 0 ? void 0 : _b.call(_a)));
44162 }
44163 function combineDirectoryPath(root, dir) {
44164 return ts.ensureTrailingDirectorySeparator(ts.combinePaths(root, dir));
44165 }
44166 function useCaseSensitiveFileNames() {
44167 return !state.host.useCaseSensitiveFileNames ? true :
44168 typeof state.host.useCaseSensitiveFileNames === "boolean" ? state.host.useCaseSensitiveFileNames :

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected