MCPcopy Index your code
hub / github.com/TypeScriptToLua/TypeScriptToLua / getEmitPath

Function getEmitPath

src/transpilation/transpiler.ts:180–185  ·  view source on GitHub ↗
(file: string, program: ts.Program)

Source from the content-addressed store, hash-verified

178}
179
180export function getEmitPath(file: string, program: ts.Program): string {
181 const relativeOutputPath = getEmitPathRelativeToOutDir(file, program);
182 const outDir = getEmitOutDir(program);
183
184 return path.join(outDir, relativeOutputPath);
185}
186
187export function getEmitPathRelativeToOutDir(fileName: string, program: ts.Program): string {
188 const sourceDir = getSourceDir(program);

Callers 3

paths.spec.tsFile · 0.90
constructorMethod · 0.90
getEmitPlanMethod · 0.85

Calls 2

getEmitOutDirFunction · 0.85

Tested by

no test coverage detected