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

Method UpdateDelta

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

UpdateDelta is for per collection access to UpdateDelta method

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

Source from the content-addressed store, hash-verified

194
195// UpdateDelta is for per collection access to UpdateDelta method
196func (c *collectionRevisionCache) UpdateDelta(ctx context.Context, docID, revID string, toDelta RevisionDelta) {
197 (*c.revCache).UpdateDelta(ctx, docID, revID, c.collectionID, toDelta)
198}
199
200// UpdateDeltaCV is for per collection access to UpdateDeltaCV method
201func (c *collectionRevisionCache) UpdateDeltaCV(ctx context.Context, docID string, cv *Version, toDelta RevisionDelta) {

Callers

nothing calls this directly

Calls 1

UpdateDeltaMethod · 0.65

Tested by

no test coverage detected