MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / upgradeOldDB

Method upgradeOldDB

internal/caches/list_file_sqlite.go:473–478  ·  view source on GitHub ↗

升级老版本数据库

()

Source from the content-addressed store, hash-verified

471
472// 升级老版本数据库
473func (this *SQLiteFileList) upgradeOldDB() {
474 if len(this.oldDir) == 0 {
475 return
476 }
477 _ = this.UpgradeV3(this.oldDir, false)
478}
479
480func (this *SQLiteFileList) UpgradeV3(oldDir string, brokenOnError bool) error {
481 // index.db

Callers 1

InitMethod · 0.95

Calls 1

UpgradeV3Method · 0.95

Tested by

no test coverage detected