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

Method Peek

db/revision_cache_interface.go:163–165  ·  view source on GitHub ↗

Peek is for per collection access to Peek method

(ctx context.Context, docID, revID string)

Source from the content-addressed store, hash-verified

161
162// Peek is for per collection access to Peek method
163func (c *collectionRevisionCache) Peek(ctx context.Context, docID, revID string) (DocumentRevision, bool) {
164 return (*c.revCache).Peek(ctx, docID, revID, c.collectionID)
165}
166
167// Put is for per collection access to Put method
168func (c *collectionRevisionCache) Put(ctx context.Context, docRev DocumentRevision) {

Callers

nothing calls this directly

Calls 1

PeekMethod · 0.65

Tested by

no test coverage detected