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

Function sortedNames

scripts/codegen/rust.ts:1427–1428  ·  view source on GitHub ↗
(names: Iterable<string> | undefined)

Source from the content-addressed store, hash-verified

1425 const allMethods = methodEntries.map(({ method }) => method);
1426 const inlineMethodParamSchemas = new Map<string, JSONSchema7>();
1427 const sortedNames = (names: Iterable<string> | undefined): string[] =>
1428 [...(names ?? [])].sort();
1429 const schemaPropertyNames = (schema: JSONSchema7): string[] =>
1430 sortedNames(Object.keys(schema.properties ?? {}));
1431 const shouldPreferMethodParamSchema = (

Callers 2

schemaPropertyNamesFunction · 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…