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

Method RemoveRevOnly

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

Source from the content-addressed store, hash-verified

94}
95
96func (sc *ShardedLRURevisionCache) RemoveRevOnly(ctx context.Context, docID, revID string, collectionID uint32) {
97 sc.getShard(docID).RemoveRevOnly(ctx, docID, revID, collectionID)
98}
99
100func (sc *ShardedLRURevisionCache) RemoveCVOnly(ctx context.Context, docID string, cv *Version, collectionID uint32) {
101 sc.getShard(docID).RemoveCVOnly(ctx, docID, cv, collectionID)

Callers

nothing calls this directly

Calls 2

getShardMethod · 0.95
RemoveRevOnlyMethod · 0.65

Tested by

no test coverage detected