MCPcopy Create free account
hub / github.com/bytebase/bytebase / Equal

Method Equal

backend/generated-go/store/instance_equal.pb.go:378–389  ·  view source on GitHub ↗
(y *SASLConfig)

Source from the content-addressed store, hash-verified

376}
377
378func (x *SASLConfig) Equal(y *SASLConfig) bool {
379 if x == y {
380 return true
381 }
382 if x == nil || y == nil {
383 return x == nil && y == nil
384 }
385 if !x.GetKrbConfig().Equal(y.GetKrbConfig()) {
386 return false
387 }
388 return true
389}
390
391func (x *KerberosConfig) Equal(y *KerberosConfig) bool {
392 if x == y {

Callers

nothing calls this directly

Calls 2

GetKrbConfigMethod · 0.95
EqualMethod · 0.65

Tested by

no test coverage detected