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

Method RemoveWithRev

db/revision_cache_lru.go:88–90  ·  view source on GitHub ↗
(ctx context.Context, docID, revID string, collectionID uint32)

Source from the content-addressed store, hash-verified

86}
87
88func (sc *ShardedLRURevisionCache) RemoveWithRev(ctx context.Context, docID, revID string, collectionID uint32) {
89 sc.getShard(docID).RemoveWithRev(ctx, docID, revID, collectionID)
90}
91
92func (sc *ShardedLRURevisionCache) RemoveWithCV(ctx context.Context, docID string, cv *Version, collectionID uint32) {
93 sc.getShard(docID).RemoveWithCV(ctx, docID, cv, collectionID)

Callers

nothing calls this directly

Calls 2

getShardMethod · 0.95
RemoveWithRevMethod · 0.65

Tested by

no test coverage detected