MCPcopy Create free account
hub / github.com/couchbase/moss / Get

Method Get

segment_stack.go:74–76  ·  view source on GitHub ↗

------------------------------------------------------ Get retrieves a val from a segmentStack.

(key []byte, readOptions ReadOptions)

Source from the content-addressed store, hash-verified

72
73// Get retrieves a val from a segmentStack.
74func (ss *segmentStack) Get(key []byte, readOptions ReadOptions) ([]byte, error) {
75 return ss.get(key, len(ss.a)-1, nil, readOptions)
76}
77
78// get() retrieves a val from a segmentStack, but only considers
79// segments at or below the segStart level. The optional base

Callers

nothing calls this directly

Calls 1

getMethod · 0.95

Tested by

no test coverage detected