MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / SetFromArrayNoValidate

Function SetFromArrayNoValidate

channels/set.go:109–115  ·  view source on GitHub ↗

SetFromArrayNoValidate creates a set of channels without validating they are valid names.

(chans []ID)

Source from the content-addressed store, hash-verified

107
108// SetFromArrayNoValidate creates a set of channels without validating they are valid names.
109func SetFromArrayNoValidate(chans []ID) Set {
110 result := make(Set, len(chans))
111 for _, ch := range chans {
112 result[ch] = present{}
113 }
114 return result
115}
116
117// SetOfNoValidate creates a new Set from inline channels.
118func SetOfNoValidate(chans ...ID) Set {

Callers 6

DocChangedMethod · 0.92
notifyChangeMethod · 0.92
releaseUnusedSequenceMethod · 0.92
SetOfNoValidateFunction · 0.85

Calls

no outgoing calls

Tested by 1