server: Create storage package and move mvcc files to it

This commit is contained in:
Marek Siarkowicz
2021-07-08 15:49:16 +02:00
parent ef6c276fae
commit 5e40a8b00c
95 changed files with 118 additions and 118 deletions

View File

@ -0,0 +1,15 @@
package backend
import bolt "go.etcd.io/bbolt"
func DbFromBackendForTest(b Backend) *bolt.DB {
return b.(*backend).db
}
func DefragLimitForTest() int {
return defragLimit
}
func CommitsForTest(b Backend) int64 {
return b.(*backend).Commits()
}