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

Method String

IceFireDB-SQLite/pkg/mysql/mysql/mariadb_gtid.go:160–168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

158}
159
160func (s *MariadbGTIDSet) String() string {
161 sets := make([]string, 0, len(s.Sets))
162 for _, set := range s.Sets {
163 sets = append(sets, set.String())
164 }
165 sort.Strings(sets)
166
167 return strings.Join(sets, ",")
168}
169
170// Encode encodes mariadb gtid set
171func (s *MariadbGTIDSet) Encode() []byte {

Callers

nothing calls this directly

Calls 1

StringMethod · 0.65

Tested by

no test coverage detected