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

Method GetWithCV

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

Get is for per collection access to Get method

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

Source from the content-addressed store, hash-verified

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) {
154 return (*c.revCache).GetWithCV(ctx, docID, cv, c.collectionID, includeDelta, loadBackup)
155}
156
157// GetActive is for per collection access to GetActive method
158func (c *collectionRevisionCache) GetActive(ctx context.Context, docID string) (DocumentRevision, error) {

Callers

nothing calls this directly

Calls 1

GetWithCVMethod · 0.65

Tested by

no test coverage detected