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

Function flowSection

__tests__/explore-synth-link-endpoints.test.ts:50–55  ·  view source on GitHub ↗

The rendered Flow section, up to the next section header.

(text: string)

Source from the content-addressed store, hash-verified

48
49/** The rendered Flow section, up to the next section header. */
50function flowSection(text: string): string {
51 const at = text.indexOf('**Flow (call path');
52 if (at < 0) return '';
53 const end = text.indexOf(SECTION, at);
54 return text.slice(at, end < 0 ? undefined : end);
55}
56
57describe('codegraph_explore — dynamic-dispatch links are listed per link', () => {
58 let dir = '';

Calls

no outgoing calls

Tested by

no test coverage detected