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

Function rustRpcResultDescription

scripts/codegen/rust.ts:578–584  ·  view source on GitHub ↗
(
	method: RpcMethod,
	resultSchema: JSONSchema7 | undefined,
)

Source from the content-addressed store, hash-verified

576}
577
578function rustRpcResultDescription(
579 method: RpcMethod,
580 resultSchema: JSONSchema7 | undefined,
581): string | undefined {
582 if (isVoidSchema(resultSchema)) return undefined;
583 return method.result?.description ?? resultSchema?.description;
584}
585
586function rustRpcParamsDescription(
587 method: RpcMethod,

Callers 1

rustRpcMethodDocsFunction · 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…