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

Method Equal

backend/generated-go/v1/plan_service_equal.pb.go:106–126  ·  view source on GitHub ↗
(y *Plan_Spec)

Source from the content-addressed store, hash-verified

104}
105
106func (x *Plan_Spec) Equal(y *Plan_Spec) bool {
107 if x == y {
108 return true
109 }
110 if x == nil || y == nil {
111 return x == nil && y == nil
112 }
113 if x.Id != y.Id {
114 return false
115 }
116 if !x.GetCreateDatabaseConfig().Equal(y.GetCreateDatabaseConfig()) {
117 return false
118 }
119 if !x.GetChangeDatabaseConfig().Equal(y.GetChangeDatabaseConfig()) {
120 return false
121 }
122 if !x.GetExportDataConfig().Equal(y.GetExportDataConfig()) {
123 return false
124 }
125 return true
126}
127
128func (x *Plan_CreateDatabaseConfig) Equal(y *Plan_CreateDatabaseConfig) bool {
129 if x == y {

Callers

nothing calls this directly

Calls 4

GetExportDataConfigMethod · 0.95
EqualMethod · 0.65

Tested by

no test coverage detected