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

Method NewIterator

driver/hybriddb/db.go:281–288  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

279}
280
281func (db *DB) NewIterator() driver.IIterator {
282 db.mu.RLock()
283 defer db.mu.RUnlock()
284 it := &Iterator{
285 db.db.NewIterator(nil, db.iteratorOpts),
286 }
287 return it
288}
289
290func (db *DB) NewSnapshot() (driver.ISnapshot, error) {
291 db.mu.RLock()

Callers 5

TestIteratorFunction · 0.45
TestIterator_EmptyDBFunction · 0.45
TestIterator_CloseFunction · 0.45
TestDB_IteratorFunction · 0.45
TestSnapshot_IteratorFunction · 0.45

Calls

no outgoing calls

Tested by 5

TestIteratorFunction · 0.36
TestIterator_EmptyDBFunction · 0.36
TestIterator_CloseFunction · 0.36
TestDB_IteratorFunction · 0.36
TestSnapshot_IteratorFunction · 0.36