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

Method Add

channels/timed_set.go:170–172  ·  view source on GitHub ↗

Merges the other set into the receiver. In case of collisions the earliest sequence wins.

(other TimedSet)

Source from the content-addressed store, hash-verified

168
169// Merges the other set into the receiver. In case of collisions the earliest sequence wins.
170func (set TimedSet) Add(other TimedSet) bool {
171 return set.AddAtSequence(other, 0)
172}
173
174// Merges the other set into the receiver at a given sequence. */
175func (set TimedSet) AddAtSequence(other TimedSet, atSequence uint64) bool {

Callers 4

RebuildRolesMethod · 0.95
ComputeRolesForUserMethod · 0.95
ComputeRolesForUserMethod · 0.95

Calls 1

AddAtSequenceMethod · 0.95

Tested by

no test coverage detected