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

Method String

IceFireDB-SQLProxy/pkg/mysql/mysql/mysql_gtid.go:54–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52}
53
54func (i Interval) String() string {
55 if i.Stop == i.Start+1 {
56 return fmt.Sprintf("%d", i.Start)
57 } else {
58 return fmt.Sprintf("%d-%d", i.Start, i.Stop-1)
59 }
60}
61
62type IntervalSlice []Interval
63

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected