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

Method NewIterator

driver/ipfs-log/db.go:180–184  ·  view source on GitHub ↗

NewIterator creates a new iterator for iterating over the database

()

Source from the content-addressed store, hash-verified

178
179// NewIterator creates a new iterator for iterating over the database
180func (db *DB) NewIterator() driver.IIterator {
181 return &Iterator{
182 it: db.db.NewIterator(nil, db.iteratorOpts),
183 }
184}
185
186// NewSnapshot creates a new snapshot of the database
187func (db *DB) NewSnapshot() (driver.ISnapshot, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected