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

Function goRpcResultDescription

scripts/codegen/go.ts:274–277  ·  view source on GitHub ↗
(method: RpcMethod, resultSchema: JSONSchema7 | undefined)

Source from the content-addressed store, hash-verified

272}
273
274function goRpcResultDescription(method: RpcMethod, resultSchema: JSONSchema7 | undefined): string | undefined {
275 if (isVoidSchema(resultSchema)) return undefined;
276 return method.result?.description ?? resultSchema?.description;
277}
278
279function goRpcParamsDescription(method: RpcMethod, effectiveParams: JSONSchema7 | undefined): string | undefined {
280 return method.params?.description ?? effectiveParams?.description;

Callers 1

pushGoRpcMethodCommentFunction · 0.85

Calls 1

isVoidSchemaFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…