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

Function compareGoJSONPaths

scripts/codegen/go.ts:1386–1388  ·  view source on GitHub ↗
(left: string[], right: string[])

Source from the content-addressed store, hash-verified

1384}
1385
1386function compareGoJSONPaths(left: string[], right: string[]): number {
1387 return goJSONMatchPathKey(left).localeCompare(goJSONMatchPathKey(right));
1388}
1389
1390function compareGoJSONMatchTerms(left: GoJSONMatchTerm, right: GoJSONMatchTerm): number {
1391 const pathComparison = compareGoJSONPaths(left.path, right.path);

Callers 2

compareGoJSONMatchTermsFunction · 0.85
groupGoJSONMatchTermsFunction · 0.85

Calls 1

goJSONMatchPathKeyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…