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

Function blankLine

src/extraction/languages/c-cpp.ts:2813–2816  ·  view source on GitHub ↗
(k: number)

Source from the content-addressed store, hash-verified

2811 const code = (k: number): string => stripCr(masked[k] as string).trim();
2812 const blank = (l: string): string => l.replace(/[^\r]/g, ' ');
2813 const blankLine = (k: number): void => {
2814 lines[k] = blank(lines[k] as string);
2815 masked[k] = blank(masked[k] as string);
2816 };
2817 // Directive line indices of each open group, innermost last.
2818 // `positive`: the group opens on a feature test (`#ifdef X`, `#if defined(X)`,
2819 // `#if X`), whose `#else` branch is the default build. `elseAt`: index into

Callers 1

Calls 1

blankFunction · 0.70

Tested by

no test coverage detected