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

Method initOpts

driver/oss/db.go:133–141  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

OpenMethod · 0.45

Calls 1

newOptionsFunction · 0.70

Tested by

no test coverage detected