MCPcopy
hub / github.com/etcd-io/bbolt / strictModeEnabledDefault

Method strictModeEnabledDefault

internal/btesting/btesting.go:223–226  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

221}
222
223func (db *DB) strictModeEnabledDefault() {
224 strictModeEnabled := strings.ToLower(os.Getenv(TestEnableStrictMode))
225 db.StrictMode = strictModeEnabled == "true"
226}
227
228func (db *DB) ForceDisableStrictMode() {
229 db.StrictMode = false

Callers 2

OpenDBWithOptionFunction · 0.95
MustReopenMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected