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

Method GetWithRev

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

Get is for per collection access to Get method

(ctx context.Context, docID, revID string, includeDelta bool)

Source from the content-addressed store, hash-verified

146
147// Get is for per collection access to Get method
148func (c *collectionRevisionCache) GetWithRev(ctx context.Context, docID, revID string, includeDelta bool) (DocumentRevision, error) {
149 return (*c.revCache).GetWithRev(ctx, docID, revID, c.collectionID, includeDelta)
150}
151
152// Get is for per collection access to Get method
153func (c *collectionRevisionCache) GetWithCV(ctx context.Context, docID string, cv *Version, includeDelta bool, loadBackup bool) (DocumentRevision, error) {

Callers

nothing calls this directly

Calls 1

GetWithRevMethod · 0.65

Tested by

no test coverage detected