(t testing.TB, f string, o *bolt.Options)
| 44 | } |
| 45 | |
| 46 | func MustOpenDBWithOption(t testing.TB, f string, o *bolt.Options) *DB { |
| 47 | db, err := OpenDBWithOption(t, f, o) |
| 48 | require.NoError(t, err) |
| 49 | require.NotNil(t, db) |
| 50 | return db |
| 51 | } |
| 52 | |
| 53 | func OpenDBWithOption(t testing.TB, f string, o *bolt.Options) (*DB, error) { |
| 54 | t.Logf("Opening bbolt DB at: %s", f) |