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

Function content

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

Source from the content-addressed store, hash-verified

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

Callers 3

blankLoneMacroLinesFunction · 0.70
indexedHashInputFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected