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

Method invalUserChannels

db/database_collection.go:422–424  ·  view source on GitHub ↗

invalRoleChannels invalidates a user's computed channels for collection c

(ctx context.Context, username string, invalSeq uint64)

Source from the content-addressed store, hash-verified

420
421// invalRoleChannels invalidates a user's computed channels for collection c
422func (c *DatabaseCollection) invalUserChannels(ctx context.Context, username string, invalSeq uint64) {
423 c.dbCtx.invalUserChannels(ctx, username, base.ScopeAndCollectionNames{c.ScopeAndCollectionName()}, invalSeq)
424}
425
426// invalRoleChannels invalidates a role's computed channels for collection c
427func (c *DatabaseCollection) invalRoleChannels(ctx context.Context, rolename string, invalSeq uint64) {

Callers 1

Calls 1

Tested by

no test coverage detected