MCPcopy
hub / github.com/minio/minio-go / ToSlice

Method ToSlice

pkg/set/stringset.go:31–33  ·  view source on GitHub ↗

ToSlice - returns StringSet as string slice.

()

Source from the content-addressed store, hash-verified

29
30// ToSlice - returns StringSet as string slice.
31func (set StringSet) ToSlice() []string {
32 return ToSliceOrdered(Set[string](set))
33}
34
35// ToByteSlices - returns StringSet as a sorted
36// slice of byte slices, using only one allocation.

Callers 6

MarshalJSONMethod · 0.95
StringMethod · 0.95
TestStringSetMsgpBinaryFunction · 0.95

Calls 1

ToSliceOrderedFunction · 0.85

Tested by 4

TestStringSetMsgpBinaryFunction · 0.76