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

Method UpdateDeltaCV

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

UpdateDeltaCV stores the given toDelta value in the given rev if cached but will look up in cache by cv

(ctx context.Context, docID string, cv *Version, collectionID uint32, toDelta RevisionDelta)

Source from the content-addressed store, hash-verified

67
68 // UpdateDeltaCV stores the given toDelta value in the given rev if cached but will look up in cache by cv
69 UpdateDeltaCV(ctx context.Context, docID string, cv *Version, collectionID uint32, toDelta RevisionDelta)
70}
71
72const (

Callers 4

UpdateDeltaCVMethod · 0.65
UpdateDeltaCVMethod · 0.65
GetDeltaMethod · 0.65

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

Tested by 1