MCPcopy Index your code
hub / github.com/github/copilot-sdk / pushGoCodeBlocks

Function pushGoCodeBlocks

scripts/codegen/go.ts:3002–3007  ·  view source on GitHub ↗
(lines: string[], blocks: Iterable<string>)

Source from the content-addressed store, hash-verified

3000}
3001
3002function pushGoCodeBlocks(lines: string[], blocks: Iterable<string>): void {
3003 for (const block of blocks) {
3004 lines.push(block);
3005 lines.push(``);
3006 }
3007}
3008
3009function sortedGoDeclaredTypeBlocks(blocks: string[]): string[] {
3010 return [...blocks].sort((left, right) => goDeclaredTypeName(left).localeCompare(goDeclaredTypeName(right)));

Callers 3

goEncodingBlocksCodeFunction · 0.85
generateGoRpcTypeCodeFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…