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

Function indexedJson

__tests__/extraction.test.ts:7778–7779  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7776
7777 const jsonTemplate = (type: string): string => JSON.stringify({ sections: { main: { type } }, order: ['main'] });
7778 const indexedJson = (): string[] =>
7779 cg.getNodesByKind('file').map((n) => n.filePath).filter((p) => p.endsWith('.json')).sort();
7780
7781 it('leaves JSON under templates/ or sections/ out when no Shopify theme holds it', async () => {
7782 // jasontaylordev/CleanArchitecture ships a .NET project template under

Callers 1

extraction.test.tsFile · 0.85

Calls 2

mapMethod · 0.80
getNodesByKindMethod · 0.65

Tested by

no test coverage detected