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

Function NewUUIDSet

IceFireDB-SQLite/pkg/mysql/mysql/mysql_gtid.go:191–199  ·  view source on GitHub ↗
(sid uuid.UUID, in ...Interval)

Source from the content-addressed store, hash-verified

189}
190
191func NewUUIDSet(sid uuid.UUID, in ...Interval) *UUIDSet {
192 s := new(UUIDSet)
193 s.SID = sid
194
195 s.Intervals = in
196 s.Intervals = s.Intervals.Normalize()
197
198 return s
199}
200
201func (s *UUIDSet) Contain(sub *UUIDSet) bool {
202 if !bytes.Equal(s.SID.Bytes(), sub.SID.Bytes()) {

Callers

nothing calls this directly

Calls 1

NormalizeMethod · 0.45

Tested by

no test coverage detected