MCPcopy Index your code
hub / github.com/segmentio/ksuid / String

Method String

set.go:20–26  ·  view source on GitHub ↗

String satisfies the fmt.Stringer interface, returns a human-readable string representation of the set.

()

Source from the content-addressed store, hash-verified

18// String satisfies the fmt.Stringer interface, returns a human-readable string
19// representation of the set.
20func (set CompressedSet) String() string {
21 b := bytes.Buffer{}
22 b.WriteByte('[')
23 set.writeTo(&b)
24 b.WriteByte(']')
25 return b.String()
26}
27
28// String satisfies the fmt.GoStringer interface, returns a Go representation of
29// the set.

Callers 1

GoStringMethod · 0.45

Calls 1

writeToMethod · 0.95

Tested by

no test coverage detected