MCPcopy Create free account
hub / github.com/nutsdb/nutsdb / reset

Method reset

value.go:21–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19}
20
21func (req *request) reset() {
22 req.tx = nil
23 req.Wg = sync.WaitGroup{}
24 req.Err = nil
25
26 atomic.StoreInt32(&req.ref, 0)
27}
28
29func (req *request) IncrRef() {
30 atomic.AddInt32(&req.ref, 1)

Callers 1

sendToWriteChMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected