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

Function goResultTypeName

scripts/codegen/go.ts:466–468  ·  view source on GitHub ↗
(method: RpcMethod)

Source from the content-addressed store, hash-verified

464}
465
466function goResultTypeName(method: RpcMethod): string {
467 return getRpcSchemaTypeName(getMethodResultSchema(method), toPascalCase(method.rpcMethod) + "Result");
468}
469
470function goNullableResultTypeName(method: RpcMethod, innerSchema: JSONSchema7): string {
471 if (innerSchema.$ref) {

Callers 4

generateRpcFunction · 0.85
emitMethodFunction · 0.85

Calls 3

getRpcSchemaTypeNameFunction · 0.85
getMethodResultSchemaFunction · 0.70
toPascalCaseFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…