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

Method UpdateDelta

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

Source from the content-addressed store, hash-verified

66}
67
68func (sc *ShardedLRURevisionCache) UpdateDelta(ctx context.Context, docID, revID string, collectionID uint32, toDelta RevisionDelta) {
69 sc.getShard(docID).UpdateDelta(ctx, docID, revID, collectionID, toDelta)
70}
71
72func (sc *ShardedLRURevisionCache) UpdateDeltaCV(ctx context.Context, docID string, cv *Version, collectionID uint32, toDelta RevisionDelta) {
73 sc.getShard(docID).UpdateDeltaCV(ctx, docID, cv, collectionID, toDelta)

Callers

nothing calls this directly

Calls 2

getShardMethod · 0.95
UpdateDeltaMethod · 0.65

Tested by

no test coverage detected