MCPcopy
hub / github.com/wavetermdev/waveterm / GetOldDBName

Function GetOldDBName

pkg/wstore/wstore_dboldmigration.go:19–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17const OldDBName = "~/.waveterm/waveterm.db"
18
19func GetOldDBName() string {
20 return wavebase.ExpandHomeDirSafe(OldDBName)
21}
22
23func MakeOldDB(ctx context.Context) (*sqlx.DB, error) {
24 dbName := GetOldDBName()

Callers 1

MakeOldDBFunction · 0.85

Calls 1

ExpandHomeDirSafeFunction · 0.92

Tested by

no test coverage detected