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

Function pad

scripts/codegen/go.ts:4083–4083  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

4081 const allFieldNames = ["common", ...groupPascalNames];
4082 const maxFieldLen = Math.max(...allFieldNames.map((n) => n.length));
4083 const pad = (name: string) => name.padEnd(maxFieldLen);
4084
4085 // Emit wrapper struct
4086 pushGoComment(

Callers 1

emitRpcWrapperFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected