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

Method Validate

channels/timed_set.go:94–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92}
93
94func (set TimedSet) Validate() error {
95 for name := range set {
96 if !IsValidChannel(name) {
97 return illegalChannelError(name)
98 }
99 }
100 return nil
101}
102
103func (set TimedSet) AllKeys() []string {
104 result := make([]string, 0, len(set))

Callers

nothing calls this directly

Calls 2

IsValidChannelFunction · 0.85
illegalChannelErrorFunction · 0.85

Tested by

no test coverage detected