lash/export-to-term #157

Merged
lash merged 92 commits from lash/export-to-term into master 2024-11-04 13:54:59 +01:00
Showing only changes of commit 1d77ad98dc - Show all commits

13
common/storage.go Normal file
View File

@ -0,0 +1,13 @@
package common
import (
"git.defalsify.org/vise.git/db"
)
func StoreToDb(store *UserDataStore, prefix []byte) db.Db {
innerStore := store.Db
if pfx != nil {
innerStore = NewSubPrefixDb(innerStore, pfx)
}
return innerStore
}