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

Function nonCode

__tests__/cpp-raw-strings.test.ts:12–13  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

10import type { ResolutionContext } from '../src/resolution/types';
11
12const nonCode = (text: string): Array<[number, Array<[number, number]>]> =>
13 [...cppNonCodeLines('f.cc', { readFile: () => text } as unknown as ResolutionContext)].sort((a, b) => a[0] - b[0]);
14
15describe('cppNonCodeLines', () => {
16 it("a file with neither", () => {

Callers 1

Calls 1

cppNonCodeLinesFunction · 0.90

Tested by

no test coverage detected