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

Method RemoveWithRev

db/revision_cache_interface.go:54–54  ·  view source on GitHub ↗

RemoveWithRev evicts a revision from the cache using its revID.

(ctx context.Context, docID, revID string, collectionID uint32)

Source from the content-addressed store, hash-verified

52
53 // RemoveWithRev evicts a revision from the cache using its revID.
54 RemoveWithRev(ctx context.Context, docID, revID string, collectionID uint32)
55
56 // RemoveWithCV evicts a revision from the cache using its current version.
57 RemoveWithCV(ctx context.Context, docID string, cv *Version, collectionID uint32)

Implementers 4

collectionRevisionCachedb/revision_cache_interface.go
BypassRevisionCachedb/revision_cache_bypass.go
ShardedLRURevisionCachedb/revision_cache_lru.go
LRURevisionCachedb/revision_cache_lru.go

Calls

no outgoing calls