MCPcopy Index your code
hub / github.com/chavyleung/scripts / getGlobalBaks

Function getGlobalBaks

chavy.box.js:611–621  ·  view source on GitHub ↗

* 获取全局备份列表

()

Source from the content-addressed store, hash-verified

609 * 获取全局备份列表
610 */
611function getGlobalBaks() {
612 let backups = $.getjson($.KEY_backups, [])
613
614 // 处理异常数据:删除所有为 null 的备份
615 if (backups.includes(null)) {
616 backups = backups.filter((bak) => bak)
617 $.setjson(backups, $.KEY_backups)
618 }
619
620 return backups
621}
622
623/**
624 * 获取版本清单

Callers 1

getBoxDataFunction · 0.70

Calls 2

getjsonMethod · 0.45
setjsonMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…