MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / Close

Method Close

driver/ipfs-synckv/iterator.go:37–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35 } else {
36 return value
37 }
38 }
39 }
40 // Fall back to local value if IPFS fails or returns nil
41 return it.it.Value()
42}
43
44func (it *Iterator) Close() error {
45 if it.it != nil {
46 it.it.Release()

Callers 2

TestIteratorFunction · 0.95
TestIteratorPrefixFunction · 0.95

Calls

no outgoing calls

Tested by 2

TestIteratorFunction · 0.76
TestIteratorPrefixFunction · 0.76