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

Method RemoveWithCV

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

RemoveWithCV is for per collection access to Remove method

(ctx context.Context, docID string, cv *Version)

Source from the content-addressed store, hash-verified

189
190// RemoveWithCV is for per collection access to Remove method
191func (c *collectionRevisionCache) RemoveWithCV(ctx context.Context, docID string, cv *Version) {
192 (*c.revCache).RemoveWithCV(ctx, docID, cv, c.collectionID)
193}
194
195// UpdateDelta is for per collection access to UpdateDelta method
196func (c *collectionRevisionCache) UpdateDelta(ctx context.Context, docID, revID string, toDelta RevisionDelta) {

Callers

nothing calls this directly

Calls 1

RemoveWithCVMethod · 0.65

Tested by

no test coverage detected