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

Function content

src/extraction/languages/c-cpp.ts:554–554  ·  view source on GitHub ↗
(l: string)

Source from the content-addressed store, hash-verified

552 if (!/^[ \t]*[A-Z][A-Z0-9_]{3,}[ \t]*\r?$/m.test(source)) return source;
553 const lines = source.split('\n');
554 const content = (l: string): string => l.replace(/\r$/, '').trim();
555 let changed = false;
556 for (let i = 0; i < lines.length; i++) {
557 const line = lines[i] as string;

Callers 2

blankLoneMacroLinesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected