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

Method RemoveWithCV

db/revision_cache_lru.go:92–94  ·  view source on GitHub ↗
(ctx context.Context, docID string, cv *Version, collectionID uint32)

Source from the content-addressed store, hash-verified

90}
91
92func (sc *ShardedLRURevisionCache) RemoveWithCV(ctx context.Context, docID string, cv *Version, collectionID uint32) {
93 sc.getShard(docID).RemoveWithCV(ctx, docID, cv, collectionID)
94}
95
96func (sc *ShardedLRURevisionCache) RemoveRevOnly(ctx context.Context, docID, revID string, collectionID uint32) {
97 sc.getShard(docID).RemoveRevOnly(ctx, docID, revID, collectionID)

Callers

nothing calls this directly

Calls 2

getShardMethod · 0.95
RemoveWithCVMethod · 0.65

Tested by

no test coverage detected