Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IceFireDB/IceFireDB
/ getWriteBatch
Method
getWriteBatch
driver/badger/batch.go:15–20 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
13
}
14
15
func
(w *WriteBatch) getWriteBatch() *badger.WriteBatch {
16
if
w.wb == nil {
17
w.wb = w.db.NewWriteBatch()
18
}
19
return
w.wb
20
}
21
22
func
(w *WriteBatch) Put(key, value []byte) {
23
w.lock.Lock()
Callers
2
Put
Method · 0.95
Delete
Method · 0.95
Calls
1
NewWriteBatch
Method · 0.45
Tested by
no test coverage detected