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

Method Swap

IceFireDB-SQLProxy/pkg/mysql/mysql/mysql_gtid.go:78–80  ·  view source on GitHub ↗
(i, j int)

Source from the content-addressed store, hash-verified

76}
77
78func (s IntervalSlice) Swap(i, j int) {
79 s[i], s[j] = s[j], s[i]
80}
81
82func (s IntervalSlice) Sort() {
83 sort.Sort(s)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected