mirror of
https://github.com/talent-plan/tinykv.git
synced 2026-08-22 14:33:28 +08:00
Fix comment (#387)
This commit is contained in:
@@ -60,7 +60,7 @@ func (en *Engines) Destroy() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// CreateDB creates a new Badger DB on disk at subPath.
|
||||
// CreateDB creates a new Badger DB on disk at path.
|
||||
func CreateDB(path string, raft bool) *badger.DB {
|
||||
opts := badger.DefaultOptions
|
||||
if raft {
|
||||
|
||||
Reference in New Issue
Block a user