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

Function goSchemaNeedsJSONMatch

scripts/codegen/go.ts:1246–1249  ·  view source on GitHub ↗
(schema: JSONSchema7, ctx: GoCodegenCtx)

Source from the content-addressed store, hash-verified

1244}
1245
1246function goSchemaNeedsJSONMatch(schema: JSONSchema7, ctx: GoCodegenCtx): boolean {
1247 if (goObjectSchemaForMatch(schema, ctx)) return true;
1248 return goStringEnumValues(schema, ctx) !== undefined;
1249}
1250
1251function pushGoJSONStringMatchLines(
1252 lines: string[],

Callers 1

Calls 2

goObjectSchemaForMatchFunction · 0.85
goStringEnumValuesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…