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

Method initOpts

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

Source from the content-addressed store, hash-verified

132}
133
134func (db *DB) initOpts() {
135 db.opts = newOptions(db.cfg)
136 db.iteratorOpts = &opt.ReadOptions{}
137 db.iteratorOpts.DontFillCache = true
138 db.syncOpts = &opt.WriteOptions{}
139 db.syncOpts.Sync = true
140}
141
142func newOptions(cfg *config.LevelDBConfig) *opt.Options {
143 opts := &opt.Options{}

Callers 1

OpenMethod · 0.45

Calls 1

newOptionsFunction · 0.70

Tested by

no test coverage detected