MCPcopy Create free account
hub / github.com/github/gh-aw / slicesEqual

Function slicesEqual

pkg/workflow/label_trigger_parser_test.go:468–478  ·  view source on GitHub ↗

Helper function to compare string slices

(a, b []string)

Source from the content-addressed store, hash-verified

466
467// Helper function to compare string slices
468func slicesEqual(a, b []string) bool {
469 if len(a) != len(b) {
470 return false
471 }
472 for i := range a {
473 if a[i] != b[i] {
474 return false
475 }
476 }
477 return true
478}

Calls

no outgoing calls

Tested by

no test coverage detected