MCPcopy Create free account
hub / github.com/Noumena-Network/code / getLanguageFromPath

Function getLanguageFromPath

src/commands/insights.ts:463–466  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

461// ============================================================================
462
463function getLanguageFromPath(filePath: string): string | null {
464 const ext = extname(filePath).toLowerCase()
465 return EXTENSION_TO_LANGUAGE[ext] || null
466}
467
468export function extractToolStats(log: LogOption): {
469 toolCounts: Record<string, number>

Callers 1

extractToolStatsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected