MCPcopy
hub / github.com/dqzboy/Docker-Proxy / checkComplete

Function checkComplete

hubcmdui/utils/database-checker.js:77–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75 });
76
77 function checkComplete() {
78 if (checkedTables === requiredTables.length) {
79 db.close((err) => {
80 // 需要至少用户表和配置表有数据
81 resolve(allTablesReady && tablesWithData >= 2);
82 });
83 }
84 }
85 });
86 });
87}

Callers 1

isDatabaseReadyFunction · 0.85

Calls 1

closeMethod · 0.80

Tested by

no test coverage detected