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

Function compareGoJSONMatchTerms

scripts/codegen/go.ts:1390–1394  ·  view source on GitHub ↗
(left: GoJSONMatchTerm, right: GoJSONMatchTerm)

Source from the content-addressed store, hash-verified

1388}
1389
1390function compareGoJSONMatchTerms(left: GoJSONMatchTerm, right: GoJSONMatchTerm): number {
1391 const pathComparison = compareGoJSONPaths(left.path, right.path);
1392 if (pathComparison !== 0) return pathComparison;
1393 return left.kind.localeCompare(right.kind);
1394}
1395
1396function goCollectRequiredJSONMatchTerms(
1397 schema: JSONSchema7,

Callers

nothing calls this directly

Calls 1

compareGoJSONPathsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…