MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / languageRow

Function languageRow

__tests__/status-language-coverage.test.ts:73–75  ·  view source on GitHub ↗

The whole row a language prints under `Files by Language:`.

(stdout: string, language: string)

Source from the content-addressed store, hash-verified

71
72 /** The whole row a language prints under `Files by Language:`. */
73 function languageRow(stdout: string, language: string): string | undefined {
74 return stdout.split(/\r?\n/).find((line) => line.startsWith(` ${language} `));
75 }
76
77 describe('the count', () => {
78 it('counts a file with a symbol, and not one with only its own file node', async () => {

Calls

no outgoing calls

Tested by

no test coverage detected