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

Method Equal

backend/generated-go/v1/setting_service_equal.pb.go:109–141  ·  view source on GitHub ↗
(y *SettingValue)

Source from the content-addressed store, hash-verified

107}
108
109func (x *SettingValue) Equal(y *SettingValue) bool {
110 if x == y {
111 return true
112 }
113 if x == nil || y == nil {
114 return x == nil && y == nil
115 }
116 if !x.GetAppIm().Equal(y.GetAppIm()) {
117 return false
118 }
119 if !x.GetWorkspaceProfile().Equal(y.GetWorkspaceProfile()) {
120 return false
121 }
122 if !x.GetWorkspaceApproval().Equal(y.GetWorkspaceApproval()) {
123 return false
124 }
125 if !x.GetDataClassification().Equal(y.GetDataClassification()) {
126 return false
127 }
128 if !x.GetSemanticType().Equal(y.GetSemanticType()) {
129 return false
130 }
131 if !x.GetAi().Equal(y.GetAi()) {
132 return false
133 }
134 if !x.GetEnvironment().Equal(y.GetEnvironment()) {
135 return false
136 }
137 if !x.GetEmail().Equal(y.GetEmail()) {
138 return false
139 }
140 return true
141}
142
143func (x *AppIMSetting_Slack) Equal(y *AppIMSetting_Slack) bool {
144 if x == y {

Callers

nothing calls this directly

Calls 11

GetAppImMethod · 0.95
GetWorkspaceProfileMethod · 0.95
GetWorkspaceApprovalMethod · 0.95
GetDataClassificationMethod · 0.95
GetSemanticTypeMethod · 0.95
GetAiMethod · 0.95
GetEnvironmentMethod · 0.95
GetEmailMethod · 0.95
EqualMethod · 0.65
GetEnvironmentMethod · 0.45
GetEmailMethod · 0.45

Tested by

no test coverage detected