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

Method UpdateDelta

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

UpdateDelta stores the given toDelta value in the given rev if cached

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

Source from the content-addressed store, hash-verified

64
65 // UpdateDelta stores the given toDelta value in the given rev if cached
66 UpdateDelta(ctx context.Context, docID, revID string, collectionID uint32, toDelta RevisionDelta)
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)

Callers 4

UpdateDeltaMethod · 0.65
UpdateDeltaMethod · 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