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

Method GetActive

db/revision_cache_interface.go:158–160  ·  view source on GitHub ↗

GetActive is for per collection access to GetActive method

(ctx context.Context, docID string)

Source from the content-addressed store, hash-verified

156
157// GetActive is for per collection access to GetActive method
158func (c *collectionRevisionCache) GetActive(ctx context.Context, docID string) (DocumentRevision, error) {
159 return (*c.revCache).GetActive(ctx, docID, c.collectionID)
160}
161
162// Peek is for per collection access to Peek method
163func (c *collectionRevisionCache) Peek(ctx context.Context, docID, revID string) (DocumentRevision, bool) {

Callers

nothing calls this directly

Calls 1

GetActiveMethod · 0.65

Tested by

no test coverage detected