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

Function handlerMethodName

scripts/codegen/typescript.ts:835–838  ·  view source on GitHub ↗

* Derive the handler method name from the full RPC method name. * e.g., "sessionFs.readFile" → "readFile"

(rpcMethod: string)

Source from the content-addressed store, hash-verified

833 * e.g., "sessionFs.readFile""readFile"
834 */
835function handlerMethodName(rpcMethod: string): string {
836 const parts = rpcMethod.split(".");
837 return parts[parts.length - 1];
838}
839
840/**
841 * Generate handler interfaces and a registration function for client session API groups.

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…