MCPcopy
hub / github.com/segmentio/ksuid / Iter

Method Iter

set.go:12–16  ·  view source on GitHub ↗

Iter returns an iterator that produces all KSUIDs in the set.

()

Source from the content-addressed store, hash-verified

10
11// Iter returns an iterator that produces all KSUIDs in the set.
12func (set CompressedSet) Iter() CompressedSetIter {
13 return CompressedSetIter{
14 content: []byte(set),
15 }
16}
17
18// String satisfies the fmt.Stringer interface, returns a human-readable string
19// representation of the set.

Callers 10

writeToMethod · 0.95
testCompressedSetSparseFunction · 0.80
testCompressedSetPackedFunction · 0.80
testCompressedSetMixedFunction · 0.80
testCompressedSetSingleFunction · 0.80
testCompressedSetNilFunction · 0.80
testCompressedSetConcatFunction · 0.80
BenchmarkCompressedSetFunction · 0.80

Calls

no outgoing calls

Tested by 9

testCompressedSetSparseFunction · 0.64
testCompressedSetPackedFunction · 0.64
testCompressedSetMixedFunction · 0.64
testCompressedSetSingleFunction · 0.64
testCompressedSetNilFunction · 0.64
testCompressedSetConcatFunction · 0.64
BenchmarkCompressedSetFunction · 0.64