MCPcopy
hub / github.com/opentrace/opentrace / detectLanguage

Function detectLanguage

ui/src/components/pipeline/stages/loading.ts:51–53  ·  view source on GitHub ↗
(ext: string)

Source from the content-addressed store, hash-verified

49}
50
51export function detectLanguage(ext: string): string | null {
52 return LANGUAGE_MAP[ext] ?? null;
53}
54
55export function ensureDirChain(
56 repoId: string,

Callers 5

executeFunction · 0.90
parseFileFunction · 0.90
executeFunction · 0.90
processMethod · 0.90
loading.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected