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

Function toPascalCase

scripts/codegen/python.ts:1285–1292  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

1283}
1284
1285function toPascalCase(s: string): string {
1286 return fixBrandCasing(
1287 s
1288 .split(/[._]/)
1289 .map((w) => w.charAt(0).toUpperCase() + w.slice(1))
1290 .join("")
1291 );
1292}
1293
1294function collectRpcMethods(node: Record<string, unknown>): RpcMethod[] {
1295 const results: RpcMethod[] = [];

Callers 14

pythonResultTypeNameFunction · 0.70
pythonParamsTypeNameFunction · 0.70
extractPyEventVariantsFunction · 0.70
getPyNamedSchemaTypeFunction · 0.70
resolvePyPropertyTypeFunction · 0.70
emitPyApiGroupFunction · 0.70
emitRpcWrapperFunction · 0.70

Calls 2

joinMethod · 0.80
fixBrandCasingFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…