MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / langForFile

Function langForFile

src/context/ast-chunk.ts:67–69  ·  view source on GitHub ↗
(rel: string)

Source from the content-addressed store, hash-verified

65};
66
67export function langForFile(rel: string): string | null {
68 return detectLanguage(rel);
69}
70
71/** Best-effort name extraction for a declaration node. */
72function extractSymbolName(node: any, source: string): string | undefined {

Callers 1

astChunkFileFunction · 0.85

Calls 1

detectLanguageFunction · 0.85

Tested by

no test coverage detected