MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / stringSlicesEqual

Function stringSlicesEqual

internal/httpapi/messages.go:684–694  ·  view source on GitHub ↗
(a, b []string)

Source from the content-addressed store, hash-verified

682}
683
684func stringSlicesEqual(a, b []string) bool {
685 if len(a) != len(b) {
686 return false
687 }
688 for i := range a {
689 if a[i] != b[i] {
690 return false
691 }
692 }
693 return true
694}
695
696// orEmptyStrings normalizes a nil slice to a non-nil empty slice so the
697// field renders as [] rather than null — matching the legacy orEmptySlice

Callers 1

handleListMessagesMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected