Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IceFireDB/IceFireDB
/ Close
Method
Close
driver/badger/iterator.go:28–35 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
26
}
27
28
func
(it *Iterator) Close() error {
29
if
it.it != nil {
30
it.it.Close()
31
it.it = nil
32
it.txn.Discard()
33
}
34
return
nil
35
}
36
37
func
(it *Iterator) Valid() bool {
38
ok := it.it.Valid()
Callers
2
Prev
Method · 0.95
Last
Method · 0.95
Calls
1
Close
Method · 0.65
Tested by
no test coverage detected