MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / Contain

Method Contain

IceFireDB-SQLite/pkg/mysql/mysql/mysql_gtid.go:201–207  ·  view source on GitHub ↗
(sub *UUIDSet)

Source from the content-addressed store, hash-verified

199}
200
201func (s *UUIDSet) Contain(sub *UUIDSet) bool {
202 if !bytes.Equal(s.SID.Bytes(), sub.SID.Bytes()) {
203 return false
204 }
205
206 return s.Intervals.Contain(sub.Intervals)
207}
208
209func (s *UUIDSet) Bytes() []byte {
210 var buf bytes.Buffer

Callers

nothing calls this directly

Calls 3

EqualMethod · 0.65
ContainMethod · 0.65
BytesMethod · 0.45

Tested by

no test coverage detected