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

Function pushGoComment

scripts/codegen/go.ts:178–180  ·  view source on GitHub ↗
(lines: string[], text: string, indent = "", wrap = true)

Source from the content-addressed store, hash-verified

176}
177
178function pushGoComment(lines: string[], text: string, indent = "", wrap = true): void {
179 lines.push(...goCommentLines(text, indent, wrap));
180}
181
182function pushGoCommentForContext(lines: string[], text: string, ctx: GoCodegenCtx, indent = ""): void {
183 pushGoComment(lines, text, indent, ctx.wrapComments !== false);

Callers 12

pushGoCommentForContextFunction · 0.85
pushGoRpcMethodCommentFunction · 0.85
emitApiGroupFunction · 0.85
emitRpcWrapperFunction · 0.85
emitMethodFunction · 0.85

Calls 2

goCommentLinesFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…