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

Function locate

test/cli/tsconfig.spec.ts:20–21  ·  view source on GitHub ↗
(project: string | undefined, fileNames: string[] = [])

Source from the content-addressed store, hash-verified

18});
19
20const locate = (project: string | undefined, fileNames: string[] = []) =>
21 locateConfigFile({ errors: [], fileNames, options: { project } });
22
23const normalize = (name: string) => normalizeSlashes(fs.realpathSync(path.resolve(temp, name)));
24

Callers 2

findAndExpectFunction · 0.85
tsconfig.spec.tsFile · 0.85

Calls 1

locateConfigFileFunction · 0.90

Tested by

no test coverage detected