MCPcopy Create free account
hub / github.com/google/go-github / operationsEqual

Function operationsEqual

tools/metadata/metadata.go:62–72  ·  view source on GitHub ↗
(a, b []*operation)

Source from the content-addressed store, hash-verified

60}
61
62func operationsEqual(a, b []*operation) bool {
63 if len(a) != len(b) {
64 return false
65 }
66 for i := range a {
67 if !a[i].equal(b[i]) {
68 return false
69 }
70 }
71 return true
72}
73
74func sortOperations(ops []*operation) {
75 slices.SortFunc(ops, func(a, b *operation) int {

Callers 2

updateFromGithubMethod · 0.85
RunMethod · 0.85

Calls 1

equalMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…