mirror of
https://github.com/talent-plan/tinykv.git
synced 2024-12-25 20:30:30 +08:00
Fix comment (#387)
This commit is contained in:
parent
75427f5736
commit
c083988b20
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user