MCPcopy Create free account
hub / github.com/IceClusters/icmysql / LoadCache

Function LoadCache

debug/js/app.js:217–228  ·  view source on GitHub ↗
(cache)

Source from the content-addressed store, hash-verified

215}
216
217function LoadCache(cache) {
218 $("#cacheModalBody").html("");
219 for (let i = 0; i < cache.length; i++) {
220 $("#cacheModalBody").append(`
221 <tr>
222 <td style="width:10%">${cache[i].table}</td>
223 <td style="width: 20% !important;">${cache[i].hash}</td>
224 <td style="width:50%">${ReduceText(JSON.stringify(cache[i].values), 60)}</td>
225 </tr>
226 `);
227 }
228}
229
230function LoadBackups(backups) {
231 $("#backupModalBody").html("");

Callers 1

app.jsFile · 0.85

Calls 1

ReduceTextFunction · 0.85

Tested by

no test coverage detected