MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / formatPoolInfo

Function formatPoolInfo

static/js/settings.js:101–112  ·  view source on GitHub ↗
(settings)

Source from the content-addressed store, hash-verified

99};
100
101function formatPoolInfo(settings) {
102 if (!settings || typeof settings !== 'object') {
103 return '默认';
104 }
105 const entries = [];
106 for (const [key, label] of Object.entries(poolKeyMap)) {
107 if (key in settings) {
108 entries.push(`${label}: ${settings[key]}`);
109 }
110 }
111 return entries.length ? entries.join(' | ') : '默认';
112}
113
114function toggleSqliteButtons(enabled) {
115 if (elements.backupBtn) {

Callers 1

loadDatabaseInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected