MCPcopy
hub / github.com/netbirdio/netbird / Equal

Method Equal

management/server/util/util.go:24–24  ·  view source on GitHub ↗
(other T)

Source from the content-addressed store, hash-verified

22
23type comparableObject[T any] interface {
24 Equal(other T) bool
25}
26
27func MergeUnique[T comparableObject[T]](arr1, arr2 []T) []T {

Callers 15

TestBuildUrlFunction · 0.65
TestGenerateConfigFunction · 0.65
TestAnonymizeDomainFunction · 0.65
TestWGIface_UpdateAddrFunction · 0.65
TestParseIfconfigOutputFunction · 0.65
TestParseIFNameFunction · 0.65

Implementers 9

Nexthopclient/internal/routemanager/systemops
Routeroute/route.go
RulePortRangemanagement/server/types/policyrule.go
PolicyRulemanagement/server/types/policyrule.go
FirewallRulemanagement/server/types/firewall_rule.
Policymanagement/server/types/policy.go
RouteFirewallRulemanagement/server/types/route_firewall
ForwardingRulemanagement/server/types/network.go
testObjectmanagement/server/util/util_test.go

Calls

no outgoing calls

Tested by 15

TestBuildUrlFunction · 0.52
TestGenerateConfigFunction · 0.52
TestAnonymizeDomainFunction · 0.52
TestWGIface_UpdateAddrFunction · 0.52
TestParseIfconfigOutputFunction · 0.52
TestParseIFNameFunction · 0.52