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

Method Close

wrap.go:85–87  ·  view source on GitHub ↗

Close will decRef the underlying snapshot.

()

Source from the content-addressed store, hash-verified

83
84// Close will decRef the underlying snapshot.
85func (w *SnapshotWrapper) Close() (err error) {
86 return w.decRef()
87}
88
89// Get returns the key from the underlying snapshot.
90func (w *SnapshotWrapper) Get(key []byte, readOptions ReadOptions) (

Callers

nothing calls this directly

Calls 1

decRefMethod · 0.95

Tested by

no test coverage detected