mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
17 lines
189 B
Go
17 lines
189 B
Go
package settings
|
|
|
|
var (
|
|
tdb *TDB
|
|
Path string
|
|
)
|
|
|
|
func InitSets(path string, readOnly bool) {
|
|
Path = path
|
|
tdb = NewTDB(path, readOnly)
|
|
loadBTSets()
|
|
}
|
|
|
|
func CloseDB() {
|
|
tdb.CloseDB()
|
|
}
|