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

Method initOpts

driver/ipfs-synckv/db.go:184–192  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

182 return s.localDB
183}
184
185func (db *DB) initOpts() {
186 db.opts = newOptions(db.cfg)
187
188 db.iteratorOpts = &opt.ReadOptions{}
189 db.iteratorOpts.DontFillCache = true
190
191 db.syncOpts = &opt.WriteOptions{}
192 db.syncOpts.Sync = true
193}
194
195func newOptions(cfg *config.LevelDBConfig) *opt.Options {

Callers 1

OpenMethod · 0.45

Calls 1

newOptionsFunction · 0.70

Tested by

no test coverage detected