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

Function compareGoFieldNames

scripts/codegen/go.ts:146–148  ·  view source on GitHub ↗
(left: string, right: string)

Source from the content-addressed store, hash-verified

144}
145
146function compareGoFieldNames(left: string, right: string): number {
147 return left.localeCompare(right);
148}
149
150function sortByGoFieldName<T>(entries: [string, T][]): [string, T][] {
151 return entries.sort(([left], [right]) => compareGoFieldNames(toGoFieldName(left), toGoFieldName(right)));

Callers 5

sortByGoFieldNameFunction · 0.85
emitGoUnionWrapperStructFunction · 0.85
emitMethodFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…