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

Method initOpts

driver/ipfs/db.go:123–131  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

121}
122
123func (db *DB) initOpts() {
124 db.opts = newOptions(db.cfg)
125
126 db.iteratorOpts = &opt.ReadOptions{}
127 db.iteratorOpts.DontFillCache = true
128
129 db.syncOpts = &opt.WriteOptions{}
130 db.syncOpts.Sync = true
131}
132
133func newOptions(cfg *config.LevelDBConfig) *opt.Options {
134 opts := &opt.Options{}

Callers 1

OpenMethod · 0.45

Calls 1

newOptionsFunction · 0.70

Tested by

no test coverage detected