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

Method AddRef

store_api.go:277–281  ·  view source on GitHub ↗

AddRef increases the ref count on this store

()

Source from the content-addressed store, hash-verified

275
276// AddRef increases the ref count on this store
277func (s *Store) AddRef() {
278 s.m.Lock()
279 s.refs++
280 s.m.Unlock()
281}
282
283// Close decreases the ref count on this store, and if the count is 0
284// proceeds to actually close the store.

Callers 2

AddRefMethod · 0.45
snapshotMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected