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

Function asText

__tests__/cpp-template-instantiations.test.ts:1243–1243  ·  view source on GitHub ↗
(cg: CodeGraph)

Source from the content-addressed store, hash-verified

1241
1242/** The template edges as text, for comparing two graphs. */
1243const asText = (cg: CodeGraph): string[] => templateEdges(cg).map((e) => JSON.stringify(e)).sort();
1244
1245describe('sync matches a fresh index', () => {
1246 const BASE = {

Callers 2

syncsFunction · 0.70

Calls 2

mapMethod · 0.80
templateEdgesFunction · 0.70

Tested by

no test coverage detected