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

Function makeRevocationChangeEntry

db/changes.go:570–575  ·  view source on GitHub ↗
(ctx context.Context, logEntry *LogEntry, seqID SequenceID, channel channels.ID, versionType ChangesVersionType)

Source from the content-addressed store, hash-verified

568}
569
570func makeRevocationChangeEntry(ctx context.Context, logEntry *LogEntry, seqID SequenceID, channel channels.ID, versionType ChangesVersionType) ChangeEntry {
571 entry := makeChangeEntry(ctx, logEntry, seqID, channel, versionType)
572 entry.Revoked = true
573
574 return entry
575}
576
577// AuditReadEvent issues a read event for this change entry. If there is no document body, there will be no event used.
578func (ce *ChangeEntry) AuditReadEvent(ctx context.Context) {

Callers 1

buildRevokedFeedMethod · 0.85

Calls 1

makeChangeEntryFunction · 0.85

Tested by

no test coverage detected