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

Function pushGoExperimentalTypeComment

scripts/codegen/go.ts:190–192  ·  view source on GitHub ↗
(lines: string[], typeName: string, ctx: GoCodegenCtx)

Source from the content-addressed store, hash-verified

188}
189
190function pushGoExperimentalTypeComment(lines: string[], typeName: string, ctx: GoCodegenCtx): void {
191 pushGoCommentForContext(lines, goExperimentalTypeComment(typeName), ctx);
192}
193
194function hasGoCommentLinesInLeadingDocBlock(source: string, typeDeclOffset: number, commentLines: string[]): boolean {
195 const precedingLines = source.slice(0, typeDeclOffset).split(/\r?\n/);

Callers 10

getOrCreateGoEnumFunction · 0.85
emitGoStructFunction · 0.85
emitGoUnionWrapperStructFunction · 0.85
emitGoAliasFunction · 0.85

Calls 2

pushGoCommentForContextFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…